Viewing 15 posts - 3,631 through 3,645 (of 5,103 total)
OR:
SELECT
t.TABLE_SCHEMA
,t.TABLE_NAME
,tc.CONSTRAINT_NAME
,kcu.COLUMN_NAME
,kcu.ORDINAL_POSITION
FROM
INFORMATION_SCHEMA.TABLES t
JOIN
INFORMATION_SCHEMA.TABLE_CONSTRAINTS tc
ON tc.TABLE_NAME = t.TABLE_NAME
JOIN INFORMATION_SCHEMA.KEY_COLUMN_USAGE kcu
ON TC.CONSTRAINT_CATALOG =KCU.CONSTRAINT_CATALOG
AND TC.CONSTRAINT_SCHEMA =KCU.CONSTRAINT_SCHEMA
AND TC.CONSTRAINT_NAME = KCU.CONSTRAINT_NAME
WHERE
tc.CONSTRAINT_TYPE = 'PRIMARY KEY'
ORDER BY
t.TABLE_NAME
,tc.CONSTRAINT_NAME
, kcu.ORDINAL_POSITION
June 21, 2005 at 8:48 am
I also think that at least you should supply a maximum number of factors!
it is very difficult to compute the roots for all avalable values. But if you still want...
June 21, 2005 at 8:32 am
Oh and btw I do believe that Celco IS rude, specially with people that come to these forums asking for help and knowledge and happen to mention something that may...
June 20, 2005 at 3:24 pm
1. Not really the fact is that it still points to the clustered no materr how many columns or which it contains.
2.Sure! the reason for the alters is that those indexes...
June 20, 2005 at 3:14 pm
It was very marked the difference between picked activity and non pick hours:
When in normal(working hours) could drag the system for about 30min
When scheduled (at night) 5 min will suffice
June 20, 2005 at 3:09 pm
To be honest those monsters are runned at scheduled times(because Everybody would suffer it if they were ad hoc) and hopefully
nobody happen...
June 20, 2005 at 2:26 pm
Unfortunately, I can't do anything ( posting realated ), I signed a confidentiality agreement and not even the name of the company can be said here
June 20, 2005 at 1:51 pm
It can be possible to have that many tables (I've dealt with 1000's), I had to deal with the 240 limit many times because of the views of views of views......
June 20, 2005 at 1:44 pm
I know the feeling. It is almost a law in software:
"There is never time to make it right, there is always time to do it over"
June 20, 2005 at 1:30 pm
Sorry, I noticed the Double post and as you can see I deleted it ![]()
June 20, 2005 at 1:25 pm
I know that what I am going to say you are not going to like but I feel imperative to be said because in the long run may make your...
June 20, 2005 at 1:19 pm
Yep! Was on vacation last week.
Lots of rain in FL
but every minute of sun and beach that could be taken ... were taken...
June 15, 2005 at 11:35 am
I didn't mean to imply that! ... just that the poster said:
I am thinking of creating a table variable and pass that table variable to the stored procedure
Because #temp is...
June 15, 2005 at 10:26 am
AND table variable datatype is not permited as a procedure parameter!
June 15, 2005 at 10:17 am
-- create table ids( n int)
-- insert into ids (n) values (7535)
-- insert into ids (n) values (7536)
-- insert into ids (n) values (7537)
-- insert into ids (n) values (7538)
--...
June 15, 2005 at 10:04 am
Viewing 15 posts - 3,631 through 3,645 (of 5,103 total)