Viewing 15 posts - 3,316 through 3,330 (of 6,036 total)
null (11/3/2007)
xp_sendmail. However, the CDO method limits the body size to 8000 -...
November 3, 2007 at 12:34 am
The task sounds like text processing.
I don't see anything related to databases in it.
I believe T-SQL has nothing to do with it.
There are many other, more effective tools for text...
November 2, 2007 at 11:49 pm
Jeff Moden (11/2/2007)
Ugh! A "Sequence" table... I hate 'em... If you don't already hate 'em, you will.;)
Once, when I gave up to convince developers not to use "sequence" tables...
November 2, 2007 at 10:12 pm
If I understand you right yo need:
1) Insert result of your query into #Table with identity(1,1) column.
2) Insert (or Update) into static table from #Table, new Number will be MAX(Number)...
November 2, 2007 at 9:52 pm
Does the WIndowsNT account running SQL Server have appropriate access rights to folder \\ServerA\share\ ?
November 2, 2007 at 8:40 pm
I'm not aware about any fixed number.
And I don't think there should be one.
It's a job of optimizer to make an estimation for each available options and choose the best...
November 2, 2007 at 3:48 pm
kannan,
what else your 1000+ lines code does what Vladan's code does not?
November 2, 2007 at 4:52 am
The only idea I have about dynamic index - it's absolutely useless thing!
November 2, 2007 at 12:33 am
Then it would be faster to create a new table, populate it with rows you want to leave, drop FK's, drop old table, rename new table to "old table name"...
November 1, 2007 at 9:29 pm
Looks like correlated subquery.
Nor really nice as for me. 😉
November 1, 2007 at 5:35 pm
mrpolecat (11/1/2007)
select * from table1 where field1 = 'xxx'
There is a clustered index on the PK and a non clustered index on field1
The execution plan uses...
November 1, 2007 at 3:42 pm
Peter Larsson (11/1/2007)
November 1, 2007 at 2:57 pm
Viewing 15 posts - 3,316 through 3,330 (of 6,036 total)