Viewing 15 posts - 331 through 345 (of 458 total)
NewID() seeds from a combination of the network card identification number (unique) and a number derived from the CPU clock. While there's no such thing as "truly random" in...
September 26, 2006 at 2:13 pm
You want to place the files in the locations you intend to use them, then use the Attach Database command from Enterprise Manager/Management Studio or look into using the CREATE...
September 26, 2006 at 11:57 am
I'd always recommend your first line of your trigger is to check @@ROWCOUNT to see if any data was actually affected.
IF @@ROWCOUNT=0 RETURN;
I'd recommend that.
September 15, 2006 at 2:46 pm
Well in the context of your EXEC(), the variable @WorkQueue is not declared. If you've declared it earlier you'll need to either parse it in or pass it in...
September 14, 2006 at 6:50 pm
Then I'd go with Anita's technique above which will produce similar results.
September 11, 2006 at 11:31 am
If you're using SQL Server 2005 I'd consider using database snapshots. I've been experimenting with scheduled created database snapshots for reporting purposes and have found they work surprisingly well.
September 11, 2006 at 11:29 am
If you want to parse in single-quotes, use two of them in your string:
select * from employeedetails where edescription='employee name is ''john jackson'' and state is ''ca'''
September 11, 2006 at 11:23 am
SSIS is a little more detatched in my opinion than DTS was, being its own service now. You can connect to the SSIS instance via Management Studio by changing...
September 8, 2006 at 10:00 am
Kathi-
One thing you can do is go through the Reporting Services Configuration tool in 2005 and rebuild the RS databases in another name. That could help you check for...
September 6, 2006 at 10:33 am
This seems like a problemmatic approach.
For starters, you have to trust the validity of these insert/update statements to perform what they say they're going to perform. You wouldn't know...
September 5, 2006 at 5:50 pm
Your first bet might be to ask the users if they really need 10 million x (however many tables there are) records. I've never run into a situation where...
September 5, 2006 at 11:29 am
In SQL Server 2005 you can use EXECUTE AS.
August 29, 2006 at 1:45 pm
Your version number there indicates you're not using SP1. You are for Windows but you must also patch SQL Server 2005 up to its service pack 1 to access...
August 28, 2006 at 9:16 pm
SELECTLEFT(value, CHARINDEX('/', value) - 1)
FROM table
That should do it...
August 28, 2006 at 1:39 pm
I assume you're working in 2005. If you're working with SP1 you should be able to set a checkbox within the Maintenance Cleanup Task for "Include first-level subfolders" and...
August 28, 2006 at 11:21 am
Viewing 15 posts - 331 through 345 (of 458 total)