Viewing 15 posts - 151 through 165 (of 282 total)
Again, I think that you should revise that code.
For example, consider deleting the records "chunk by chunk" - i.e. not all records in a single DELETE operation.
Also I'm not...
December 1, 2009 at 4:12 am
Try this example taken rom BOL ---> IS_SRVROLEMEMBER (Transact-SQL)
IF IS_SRVROLEMEMBER ('sysadmin') = 1
print 'Current user''s login is a member of the sysadmin role'
ELSE IF IS_SRVROLEMEMBER ('sysadmin')...
December 1, 2009 at 2:14 am
Does your backup strategy include log backups?
As you've been previously told, revise the code. Also if you do bulk data import / inserts, change the recovery model to "bulk logged"...
November 30, 2009 at 11:51 pm
This can also be done in .NET using regular expressions...
November 27, 2009 at 12:24 am
See if this helps you:
November 26, 2009 at 12:10 am
Try to change the stored procedure so that it gathers only the data that changed since the last time it ran. How you'll achieve this depends on the db schema...
November 25, 2009 at 1:33 am
Use the nodes() method of the XML data type. BOL ---> nodes() Method (xml Data Type) is a good starting point.
You can also consider to use an XML schema...
November 25, 2009 at 12:27 am
I'm not sure what do you want to achieve with the piece of code you've submitted, but first of all please let me remark that:
- the code is prone...
November 20, 2009 at 2:12 am
You should run DBCC CHECKDB on a regular basis - maybe not daily (and here I am a little "off topic") - but I think that you should not forget...
November 19, 2009 at 11:38 pm
The document recommended contains the performance related discussion.
November 19, 2009 at 4:30 am
Paul, it's a shame I'm o lazy...:blush:. Thanks for the detailed example.
Indeed it is a terrible design...and the boss seems to me a "micromanager" - sorry, Adam...
November 19, 2009 at 3:49 am
I'm not sure whether I've fully understood you - it seems to me that you can use the UNPIVOT operator here.
Select the columns you need in another table (T1), use...
November 19, 2009 at 2:36 am
You can also create a SSIS package (for example using the wizard recommended) or bcp out to a .csv file.
November 17, 2009 at 6:05 am
If you're working with SQL 2005 (you should if you're on this section of the forum :)) or later use (var)binary / varbinary(max). See BOL for details.
Before deciding whether to...
November 17, 2009 at 5:18 am
Are the database and the application properly documented? Is there any performance baseline available for that server?
November 3, 2009 at 1:25 pm
Viewing 15 posts - 151 through 165 (of 282 total)