Viewing 15 posts - 6,031 through 6,045 (of 26,490 total)
You may want to give this blog post a quick perusal.
August 22, 2014 at 2:34 pm
Eirikur Eiriksson (8/22/2014)
Lynn Pettis (8/22/2014)
And Mr. Celko is back with his baseball bat. :Whistling:In more than one thread. :Whistling:
Nice to see that you are having a friendly chat with your...
August 22, 2014 at 11:28 am
Looks like a combination of upivot and pivot may work. Just don't have time to play with it at the moment.
August 22, 2014 at 11:21 am
rxm119528 (8/22/2014)
Lynn Pettis (8/22/2014)
Two, the following works:
--===== If the test table already exists, drop it
IF...
August 22, 2014 at 11:12 am
mario17 (8/22/2014)
you actually got Q#4.:-)
But I understand what my query is doing easier than Chris's Q4. The parens make the order of the joins visually apparent. The other...
August 22, 2014 at 11:06 am
CELKO (8/22/2014)
What do you use for the PK on lookup tables?
I use the encoding that is being used. The IDENTITY property (not a column!) is the count of insertion...
August 22, 2014 at 11:01 am
And Mr. Celko is back with his baseball bat. :Whistling:
In more than one thread. :Whistling:
August 22, 2014 at 10:57 am
One, please make sure to test your code in an empty database prior to posting.
Two, the following works:
--===== If the test table already exists, drop it
IF OBJECT_ID('TempDB..#Table1') IS NOT...
August 22, 2014 at 10:53 am
ChrisM@Work (8/22/2014)
The order of...
August 22, 2014 at 10:34 am
Eirikur Eiriksson (8/22/2014)
Lynn Pettis (8/22/2014)
August 22, 2014 at 10:21 am
Even if you use a natural key as the primary key, I would still consider adding a synthetic id to the tables and making it a non nullable unique index...
August 22, 2014 at 9:57 am
Not a lot of info from which to work. Your best bet is to use your latest backup to recover your database.
August 21, 2014 at 6:38 pm
Ryan Keast (8/21/2014)
I've discovered that what I thought was a potential link actually isn't so after all your advice it's not going to help...
August 21, 2014 at 9:49 am
Eirikur Eiriksson (8/21/2014)
Lynn Pettis (8/21/2014)
Eirikur Eiriksson (8/21/2014)
Quick note, INFORMATION_SCHEMA is an ANSI compliant metadata view collection added in 2000 if I remember correctly, sys.* is SQL Server specific.😎
It may be...
August 21, 2014 at 9:44 am
Eirikur Eiriksson (8/21/2014)
Quick note, INFORMATION_SCHEMA is an ANSI compliant metadata view collection added in 2000 if I remember correctly, sys.* is SQL Server specific.😎
It may be but it isn't necessarily...
August 21, 2014 at 8:27 am
Viewing 15 posts - 6,031 through 6,045 (of 26,490 total)