Viewing 15 posts - 1 through 15 (of 18 total)
rbarryyoung (7/8/2008)
I gotta admit, I didn't realize that GO worked as anything other than a client tool batch seperator.
In the case of multiple SELECT statements, the "GO" separator is simply...
July 9, 2008 at 7:38 am
Jeff Moden (7/7/2008)
David Naples (7/7/2008)
You can't do this directly, as the CREATE PROCEDURE or ALTER PROCEDURE statement has to be the first in the batch.
Ummm... maybe not directly, but...
July 8, 2008 at 1:39 pm
Satya (7/7/2008)
Hai.if anyone know how we can alter all storedprocedures exists in one database by using query in sqlservr 2000, please let me know.
Thanks in advance
Developer
You can't do this directly,...
July 7, 2008 at 7:37 am
You have to be more specific about what you mean by "restore time." If you are talking only about the amount of time to restore a backup into SQL Server,...
March 28, 2008 at 8:51 pm
The thing with LiteSpeed is, if you use top-level LiteSpeed compression and then try to compress the files with something like bZip2 or WinRAR, your compressed files are actually larger...
March 28, 2008 at 8:21 pm
Anchelin:
Careful what ya ask for, pal. It's more than one script. 🙂
All objects described below are located in the [master] database on each server. The tables are populated and the...
March 28, 2008 at 7:43 am
Are you sure that you have bulk-logged as your recovery model?
None of these are bulk-logged. Some are full recovery and some are simple. The full-recovery databases are the only ones...
March 27, 2008 at 2:05 pm
What we do here is the following:
Full backup every Sat night at midnight (Sun morning, actually)
Differential backups midnight every other day of the week
Log backups evey 15 minutes
These are backed...
March 27, 2008 at 7:33 am
IMHO, if you are generating change scripts every day to promote to production, it sounds like you are in need to a release scheduling process. Doing things on the fly...
March 26, 2008 at 8:39 am
Try this on for size:
/*********************************************************************/
SET NOCOUNT ON
DECLARE @START_DT Datetime
DECLARE @BatchSize INT
DECLARE @RowsDeleted BIGINT
DECLARE @MyRowcount BIGINT
--SET @START_DT TO THE FIRST OF THE MONTH 6 MONTHS AGO
SET @START_DT = GETDATE() - 180...
March 26, 2008 at 8:10 am
Matt, I couldn't agree with you more, hence the new policy. My philosophy is going to be similar to the NSA's computer security division: "We found a problem, now YOU...
March 25, 2008 at 2:57 pm
You're right. If the SET RECURSIVE_TRIGGERS ON option has been set, then it will. You can avoid this by changing the code as follows:
create trigger trgFubar_UPD on Fubar AFTER Update
...
March 25, 2008 at 12:39 pm
The only downside to having everything in SPs is that it would mean that developers have the ability to write SQL code. It's been my experience that, unless they are...
March 25, 2008 at 12:29 pm
There is a way to get around this problem, but it involves a lot of legwork and can be very time-consuming to run. Basically what you will be doing is...
March 25, 2008 at 12:11 pm
My preference would be a single database and use partitioned views to allow segregated access to the data. There is a possibility of a minor performance hit, but it would...
March 25, 2008 at 12:02 pm
Viewing 15 posts - 1 through 15 (of 18 total)