Viewing 15 posts - 5,116 through 5,130 (of 9,643 total)
Grant Fritchey (5/12/2009)
May 12, 2009 at 7:58 am
Declaritive Referential Integrity. Using FK's instead of the application or triggers.
May 12, 2009 at 7:55 am
I wouldn't have an issue being presented an environment where I had to troubleshoot something, write a query, or create a data model. Several people have mentioned how this...
May 12, 2009 at 7:53 am
GilaMonster (5/12/2009)
Please spoon-feed me...http://www.sqlservercentral.com/Forums/Topic714789-357-1.aspx
Anyone want to take time to write a step-by-step process for restoring a database from full backups and log backups?
Thanks, now I am pounding my head on...
May 12, 2009 at 7:38 am
Check out the RANK function in BOL. Something like this might work (Uses adventureworks):
;WITH cteRank AS
(
SELECT
...
May 12, 2009 at 7:37 am
You cannot enforce Foreign Keys across databases using DRI, you would have to do it in a trigger or check constraint (would have to be a UDF).
May 12, 2009 at 7:28 am
Lynn Pettis (5/12/2009)
Jack Corbett (5/12/2009)
http://www.sqlservercentral.com/Forums/Topic714364-8-2.aspx
Then complains that I didn't provide a solution...
May 12, 2009 at 7:26 am
Here is another option which I think is a little easier to read than Atif's, but in my simple tests between the 2 does not perform quite as well and...
May 12, 2009 at 7:21 am
I don't see any reason for an infinite loop here, but I could be missing something.
I also think you can probably do this without a cursor which will...
May 12, 2009 at 6:54 am
Sometimes I wonder why I post full solutions including test data when the OP doesn't run the test code.
http://www.sqlservercentral.com/Forums/Topic714364-8-2.aspx
Then complains that I didn't provide a solution that meets their need....
May 12, 2009 at 6:39 am
I included DepartmentID in the output assuming it is a unique key so you could include it in the join criteria because of the possibility, however slight, that duplicate checksums...
May 12, 2009 at 6:32 am
WebTechie38 (5/12/2009)
I need to run this for 15 columns. Folks keep posting this same checksum example with one column.
"Select *" is not one column it is all the columns,
May 12, 2009 at 5:42 am
I agree with Gail. Post as she has asked as your requirements are more complex than just using a CASE statement as your case statement will return all combinations...
May 11, 2009 at 3:01 pm
How about something like this for a start (I'm using AdventureWorks for SQL Server 2005, but the code is valid for SQL 2000):
-- create a copy of a table in...
May 11, 2009 at 2:51 pm
I agree with the calendar table idea, but I still think you should answer the questions I posted on the other thread you started with the same question, http://www.sqlservercentral.com/Forums/Topic714216-9-1.aspx. ...
May 11, 2009 at 2:38 pm
Viewing 15 posts - 5,116 through 5,130 (of 9,643 total)