Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 7129 articles
Browse latest View live

Changing the size of a column in a clustered index.

Re: Changing the size of a column in a clustered index.I am changing the size of a field in a clustered index. Do I have to rebuild or do anything to the index?

View Article


how to connect to database locally

I have installed sql server 8 but unble to find the database localy to connect can you please send me the screen shot thx a lot

View Article


How to test the performance improvement once READ_COMMITTED_SNAPSHOT is ON

I noticed that READ_COMMITTED_SNAPSHOT option was turned OFF in our DB and I have turned it ON hoping it would make a positive impact on the performance of the database. How could I ensure whether this...

View Article

Users in SQL databases

I took up programming a couple of months ago (alongside my day job) and am struggling with a couple of basic concepts. Currently, I'm trying to learn how to build a database based PHP login/logout for...

View Article

collect variables from from different tables

Good evening! I want to make a table with variable green from table uno, and variable blue from table dos, and variable yellow from table tres,and only of variable yellow equals 1 to 9.my syntax is as...

View Article


SQl engine service account in different trusted domain from server?

Is it possible to use an SQL service account from a different, but still trusted, domain than the one to which the server is joined?  If so, are there any nonstandard configuration settings I need to...

View Article

Joining two tables, 1 to many relation

I would like to run a query on two tables, connected with a join.Table A contains a user_name and a user_network_name, the rows are unique.Table B contains a user_name and a date/time of logon, there a...

View Article

Log to file or to database table?

I'm developing a web application which uses MS SQL for various data: including users, user accounts, user licenses, license prices, invoices.I need to log users' real-time usage of the system, and use...

View Article


How to prevent race conditions in a web application?

Consider an e-commerce site, where Alice and Bob are both editing the product listings. Alice is improving descriptions, while Bob is updating prices. They start editing the Acme Wonder Widget at the...

View Article


Resisting the creation of new log files when SQL SERVER is restarted

Hi,  I know that when SQL server is restarted new log files are created. But is it possible to resist creating new log fils and insert log data in the existing log files that are used before restarting...

View Article

What is a Database Environment?

I am going through Relational Database Design by JLM. I have come across words likedatabase, data model, DBMS etc. which I am able to understand. But, I get confused when the author tries to use...

View Article

Reduce Operations on Distributed Databases

I would like to ask you about optimizing reduce operations (e.g. count) on multiple databases.Let's say there is a user table that is stored in various countries and sharding is made based on the...

View Article

Fixing bad data in a database - redo or incremental

I have pseudo-ownership of a fairly old db (original data from 30 years ago; current design is >15 years old). In my opinion, the schema is pretty broken, and one of the implications of this is that...

View Article


How to associate both a collection and one item of this collection to an entity

I'm working on a project in which I have an entity, we may call Users and another entityAddress.I want to define the entity User in a way that an user would have a collection of addresses (typically a...

View Article

Can I store unencrypted personal data in sql server and avoid identity theft?

My website will go live soon.  Once concern I have is that I am storing personal data about users - at minimum their email address and first and last name.  It gets worse, due to a colleagues...

View Article


Returning a value as an output parameter

How do I return a selected field to a vb program?

View Article

SQLDatabase: Read a lot of data at once and process in memory or read the...

I'm not sure how to approach this problem. I require a big chunk of data records from the SQL server. This chunk is based on variables, so I don't know before what records I need. I need to do a large...

View Article


What should the payload of a “domain event” generated through “change data...

Using domain driven design and event sourcing ...Given I have a table of 3 columns: (A, B, C) with an existing row of data: (1, 2, 3), when I update the row to contain values (1000, 2, 3) and I run a...

View Article

Website testable design

I have developed two web services. The main service is a RESTful service (using DB), and another UI service that uses the RESTful service.Say I want to test the UI for now (integration tests), every...

View Article

Representing list of polymophic objects in db

Let's suppose I have a list of derived objects from some base:class Circle : public Shape; class Rectangle : public Shape;There is object, which has vector of Shape * as member variable:class Screen {...

View Article
Browsing all 7129 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>