Viewing 15 posts - 286 through 300 (of 5,503 total)
sqlvogel (12/4/2013)
A primary key constraint is a uniqueness constraint. Would adding a third key as you suggest really make any difference to the question of which ought to be "primary"?...
December 4, 2013 at 11:43 am
Why would someone need a primary key for husband and wife?
None of the two makes a good primary key, but both should have a unique constraint - if such a...
December 4, 2013 at 11:00 am
The query seems to be correct.
But the problem description as well as the answer is there, too:
One solution is to increase the number of characters retrieved from the server for...
December 2, 2013 at 4:48 pm
I don't recommend to rely on a phone call to create the snapshot.
Usually, working hours of Dev and Prod are not identical. It won't be too long until the Dev...
December 2, 2013 at 12:25 pm
Lowell (12/2/2013)
...in SQL server, the PK is used to define how the data is physically stored on disk.
Objection, your Honor!
The physical storage on disk is based on the clustered index,...
December 2, 2013 at 12:16 pm
A Primary Key is used to identify a single row based on the "business rules". This key is used in foreign key references to ensure logical consistency of the business...
December 2, 2013 at 12:13 pm
One option would be to run the code as a different user with elevated permissions using the EXECUTE AS clause.
But this would require to replace the dynamic SQL with hard...
December 2, 2013 at 9:51 am
Like Jeff already suggested: it might be required to recompile the code since the cached query plans might still not reflect the new index.
Jeff suggested the DBCC FREEPROCCACHE followed by...
December 2, 2013 at 3:12 am
Would it be an option for you to create a view with the xml formatted result set (instead of storing it "physically")?
Might help to deal with the data in a...
December 2, 2013 at 3:01 am
Check with the database owner if the permission to modify those stored procedures can be granted.
November 29, 2013 at 11:57 am
What exactly is your question?
Based on the error message the named SQL Server instance W6010_01 at the server W6000 was not accessible.
There are numerous possible reasons for that message. You...
November 29, 2013 at 11:54 am
from my point of view the first step would be to figure out how it happened and to close that "back door". Otherwise you might get faced with the very...
November 27, 2013 at 2:41 pm
I'm not sure what your template looks like...
Do you want to have each table loaded to a separate Workbook?
If so, you could have a look at this link how to...
November 27, 2013 at 2:30 pm
I'd go with a separate table with the columns ObjectiveId (as a foreign key reference to the current table), OutcomeId, KSA_aspectNo, KSA_AspectValue together with a column referencing the related.
I'm not...
November 27, 2013 at 2:14 pm
I guess the big question is:
What kind of validation is performed?
Would it be possible to store the "bunch of rows" to a temp table with an additional column to mark...
November 27, 2013 at 1:40 pm
Viewing 15 posts - 286 through 300 (of 5,503 total)