Viewing 15 posts - 10,246 through 10,260 (of 18,923 total)
I stand corrected. Sysname is Nvarchar(128)... Just in case anyone reads this later on.
January 23, 2007 at 4:56 pm
That will not work. This returns only the first row of text in syscomments (2000). No idea about 2005.
January 23, 2007 at 6:18 am
I'm sur eyou can find someone who can do that part for you
.
January 22, 2007 at 10:13 pm
It would really help if we saw the execution plan of th query.
January 22, 2007 at 8:33 am
You can add a calculated field in the view such as ExpireTime which would contain the number of minutes / seconds or whatever that the event will become invald. Then...
January 22, 2007 at 8:28 am
Thanx for the good work.
IIRC, you were supposed to write an article about this. How is that comming along?
January 21, 2007 at 10:07 pm
Or without the loop at all :
--create a tally table... make it as big as you need
IF EXISTS (Select * from dbo.SysObjects where name = 'Numbers' and XType =...
January 19, 2007 at 1:50 pm
Looks to me like he was the man for the job
.
January 19, 2007 at 10:29 am
It doesn't seem to be a new feature of sql server 2000. I'd assume it was available back in 7.0. Most likely in 6.5 too but I'm just guessing here.
January 19, 2007 at 9:00 am
I never had to test that but I would assume it would work. can you test and let us know how it goes?
January 19, 2007 at 8:57 am
In 2000 it was db_ddladmin. I don't know if it has changed in 2005.
January 19, 2007 at 8:44 am
I'm sure we can figure something out. What is it you need to do exactly?
January 19, 2007 at 8:01 am
Make a primary key with an autonumber column.
Then add a calculated field to show the formated invoice number :
Formula = RIGHT("000000" + CSTR(PK), 7)
This allows for 9 999 999...
January 19, 2007 at 7:10 am
Doesn't matter at all... even if he had 10 duplicates per key the update should still work :
DECLARE @A Table (PK INT NOT NULL, Col INT NOT NULL)
INSERT INTO...
January 19, 2007 at 7:07 am
Viewing 15 posts - 10,246 through 10,260 (of 18,923 total)