Viewing 15 posts - 42,661 through 42,675 (of 49,571 total)
Try RAISERROR instead of print.
if @search_type <> 'ausId' and @search_type <> 'email'
begin
RAISERROR ('Search Type...
December 3, 2008 at 12:58 am
I'd suggest doing it as one statement. If you do the count first and then the insert, there's a chance that another insert could occur in between and make the...
December 3, 2008 at 12:54 am
Sure. It's one of those not-so-intuitive queries (understatement)
This will work providing you have no table partitioning. If you do, it may give strange results
select object_name(p.object_id), ds.name as FilegroupName
...
December 3, 2008 at 12:42 am
skjoldtc (12/2/2008)
December 3, 2008 at 12:06 am
rbarryyoung (12/2/2008)
And whenever you want to post a 370+ line output file like this, please feel free to either trim it down some or post it as an attachment instead.
For...
December 3, 2008 at 12:05 am
Full backup does not truncate the tran log. Never has. Only a transaction log backup, an explicit truncate or a switch to simple recovery will truncate the tran log.
December 2, 2008 at 11:57 pm
Don't bother with lock pages on a desktop. Since it prevents SQL from been swapped out, it could give you perf problems with other apps.
Lock pages is important on servers...
December 2, 2008 at 11:35 pm
That's going to have to be a procedure, since you have dynamic SQL.
December 2, 2008 at 4:37 pm
Remove the select ISDATE ('5/1/2008') from before the Create Proc
You're missing begins for two of those ifs
If ISDATE(@DateMin) = 0
BEGIN
Raiserror('Please enter valid date format...
December 2, 2008 at 3:40 pm
Monitor that regularly and when the available space gets low, manually grow the file.
December 2, 2008 at 3:13 pm
That's going to take a while.
What's the availability requirements? Can you get a weekend where the DB isn't in use? It may not take that long, but just for...
December 2, 2008 at 3:12 pm
Gaby Abed (12/2/2008)
Really? I'm curious what his answer was, or was it a simple "I don't know"?
He told us (panel interview, myself, two other DBAs and a...
December 2, 2008 at 3:00 pm
nate (12/2/2008)
December 2, 2008 at 2:56 pm
Script all the objects (perhaps excluding the foreign keys) to files, bcp all of the data to file. Create a new database, run all of the script files, bcp all...
December 2, 2008 at 2:45 pm
It's got nothing to do with space available. Grows are very intensive operations and will cause the entire system to slow down due to the IO impact.
As for monitoring, try...
December 2, 2008 at 2:24 pm
Viewing 15 posts - 42,661 through 42,675 (of 49,571 total)