Viewing 14 posts - 16 through 29 (of 29 total)
i never heard about using with in a select query.
what do you mean? can u explain?
thx G
January 23, 2006 at 2:06 am
using composite indexes does the performance depend on the columns order in the definition?
if the answer is yes, what wolud be the right order to my query? COL1, COL2,...
January 22, 2006 at 11:36 pm
i tried with more column names. i called it ID, Counter, RowNumber, etc, but got the same result at each time.
January 22, 2006 at 6:24 pm
hi!
my solution is the next:
IF 'COL1' NOT IN
(SELECT c.Name
FROM SYSCOLUMNS c INNER JOIN SYSOBJECTS o ON c.ID = o.ID
WHERE o.Name = 'TBL1')
BEGIN
ALTER TABLE TBL1 ADD COL1 int...
December 20, 2005 at 6:39 am
wow! thats cool!
thank u Jesper!
G
December 20, 2005 at 2:38 am
Hi!
I have to mention that u cannot TRUNCATE TABLE if it is being referenced by a FOREIGN KEY constraint.
If u r in this situation use DELETE TABLE & DBCC CHECKINDENT. It works.
Have a nice...
November 28, 2005 at 1:08 am
Thanks Lance,
As i dont need to log i found that DBCC CHECKINDENT (TBL1, RESEED, 0) is a perfect solution to my problem, so i get used this method.
Ciao,Gloria
November 27, 2005 at 1:22 pm
WOW!!!
thanks, David, very much!
i choosed checkindent. it is what i need.
thanks again and have a...
November 23, 2005 at 2:07 am
Im using a similar method for generate IDs, but it's not so elegant, that yours.
In the first row, I'd like to change this method to something else. (I...
October 31, 2005 at 7:11 am
Yes, you're right! I choosed this way.
Thanks for you, too, SRB!
Bye, Gloria
October 28, 2005 at 5:57 am
Thanks very much, Ray!
I am going to think about it.
Ciao,
Gloria
October 27, 2005 at 3:31 pm
thanks for the quick answers!
So, I have to create an ID which has 3 alphabetic character and 7 number. Not only 'AAA'...
October 27, 2005 at 11:04 am
Thanks for all, guys!
Then I'm going to create a trigger. This is the simplier solution, isn't it?
All the best,
Gloria
August 26, 2005 at 11:31 pm
Hello guys! Thanks for yours answers!
You wrote about views. Can I define a constraint between a table and a view or I...
August 25, 2005 at 1:06 pm
Viewing 14 posts - 16 through 29 (of 29 total)