Viewing 15 posts - 1,921 through 1,935 (of 2,469 total)
Darrell - as Remi is my current role model (may change next week)...
hth! Amen! <:-)
July 7, 2005 at 10:48 am
Here's ONE way...
using Darrell's query:
select column_name from INFORMATION_SCHEMA.KEY_COLUMN_USAGE
where table_name = 'TableName' and constraint_name like 'PK%'
July 7, 2005 at 10:28 am
Yes indeed - I'm in denial...unfortunately the madness extends to Egypt as well for I just read that the diplomat captured yesterday may have been killed....
The scary part about all...
July 7, 2005 at 10:07 am
Phill - I'm putting all my money on Remi (sorry!) - though not given to any blustering (none that I've detected so far anyway) he is a very fast typist...
July 7, 2005 at 9:59 am
Yes indeed - there's more than 1 way to skin this cat...
don't forget to add "where table_name = 'TableName' to Darrell's query!
psarrell -...
July 7, 2005 at 9:52 am
Amen! I'm trying not to read the news at all...sometimes burying your head in the sand does help...those ostriches do know a thing or two...
thanks s (swords)...
July 7, 2005 at 9:20 am
Too too kind Mike...am all choked up with your generosity - the only time I baked there were "four and twenty blackbirds"....will send you some "singing birds" in exchange for...
July 7, 2005 at 9:16 am
Remi - why did I know you'd come back with this ?!?! Just listing all columns is all...in case there're no indexes etc...HTH! Amen!
July 7, 2005 at 9:09 am
Or even more specifically:
EXEC sp_columns @table_name = 'TableName'
July 7, 2005 at 9:02 am
How about if you run it without the xtype = 'PK' filter ?! What do you get then ?!
July 7, 2005 at 8:55 am
This may seem silly to suggest - but please check the spelling of the table name carefully - I just tried it with a misspelled table name and it did...
July 7, 2005 at 8:51 am
Are you running this in QA ?! My query should work if you're connected to the right datbase - ie, the database that has the table that you want to...
July 7, 2005 at 8:47 am
I'm so sorry to hear about your ex-wife and it's really distressing to hear about how people have to find ways to circumvent the Law and/or bend it....
considering that the...
July 7, 2005 at 8:32 am
Here's one suggestion - Have you looked into Openrowset function to see if you could use that maybe ?!?!
July 7, 2005 at 7:18 am
Viewing 15 posts - 1,921 through 1,935 (of 2,469 total)