Viewing 15 posts - 136 through 150 (of 484 total)
BULK INSERT is faster but not considerably. if you want to insert from TSQL the use BULK insert if from DOS then use bcp. There is no benefit in trying...
November 22, 2002 at 4:28 pm
Wellnot to blow my own trumpet I did the OPENXML chapter for the book below. And I believe it is the only bokk that covers the issues of actually using...
November 22, 2002 at 4:26 pm
using query analyser will cut of text according to the setting in query Analyser| options (SET TEXTSIZE as well)
Have a look at my stored procedure to script a stored procedure
http://www.sqlservercentral.com/scripts/scriptdetails.asp?scriptid=585
a...
November 22, 2002 at 4:14 pm
The problem is that is likely to cause a recompile after the populate of the temp table
Simon Sabin
Co-author of SQL Server 2000 XML Distilled
November 22, 2002 at 4:10 pm
You can use xp_cmdshell to run an exe or use the sp_oa.. stored procedures to interact with a com dll.
However doing this in a trigger is not advised. It will...
November 22, 2002 at 4:05 pm
All I can say is CURSOR. What does findUPIDMatch2 do.
Firstly I hate cursors so don't use them much. I might be wrong in these statements but you I would...
November 22, 2002 at 4:02 pm
Why can't you install OS to a RAID 5. The RAID is controlled by the card and so irrelevant to the OS. I thought!
I would go for RAID10 rather than...
November 22, 2002 at 3:51 pm
If the column is not part of an index then the indexes may still need updating if the data you are updating with causes rows to be moved off pages,...
November 22, 2002 at 8:55 am
I have thought of the simple things you can do and the one thing I keep coming back to is that you probably don't need that many SPs. you can...
November 22, 2002 at 8:54 am
How are you doing the remote query?
linkedserver.dbname.dbo.spName
or
openquery(linkedServer,'dbname.dbo.spName')
Simon Sabin
Co-author of SQL Server 2000 XML Distilled
November 22, 2002 at 8:50 am
I can't give you a definite answer but I would be 90% sure to day it would break. You will need to apply a backup after the new filegroup is...
November 22, 2002 at 8:17 am
Not critising your code, but in my experience, anything that takes 3 hours to run can be improved upon, and if there are improvements then this generally means that the...
November 22, 2002 at 5:44 am
It is even worse if you use OPENROWSET. Any rowset function returns the same cost irrespective of what is being returned. This is very dangerous when you join to such...
November 22, 2002 at 4:04 am
Try
DECLARE @MyNTextValue varchar(214)
SET @MyNTextValue = (SELECT SUBSTRING(MyNTextField ,1,214)
FROM MyTable WHERE id = 1)
Simon Sabin
Co-author of SQL Server 2000 XML Distilled
November 22, 2002 at 3:56 am
I don't believe functions are supported on linked servers either change it to an SP or use some really bad dynamic SQL (string building).
I am not 100% so I...
November 21, 2002 at 12:51 pm
Viewing 15 posts - 136 through 150 (of 484 total)