Viewing 15 posts - 586 through 600 (of 1,193 total)
To move the existing database files?
Run ALTER DATABASE dbname MODIFY FILE (NAME = 'logicalname', FILEPATH = N'new_location')
Take the database offline, move the files, then bring the db back online.
More info...
January 31, 2013 at 10:19 am
SQLKnowItAll (1/30/2013)
I always specify my size in the script, so...
Yep, me too.
crazy4sql (1/30/2013)
I just tried on a dev machine and I can't reproduce crazy4sql's behaviour though - my new DB...
January 31, 2013 at 3:20 am
DiverKas (1/30/2013)
Vedran Kesegic (1/28/2013)
Snapshot might not be good to test even the reads because...
January 31, 2013 at 3:10 am
SQLKnowItAll (1/30/2013)
January 30, 2013 at 10:02 am
anthony.green (1/29/2013)
So your probably best off with a bog standard TV hooked up to a PC.
I'd go with that. Can't see SSRS playing nicely with a smart TV browser.
January 29, 2013 at 4:07 am
Vedran Kesegic (1/28/2013)
Snapshot might not be good to test even the reads because it...
January 29, 2013 at 3:04 am
Your CASE statements need to match in the select & group by clauses - you have @Level = 6 in the select, and @Level < 6 in the group by.
January 28, 2013 at 5:30 am
The ImagePath column is Varbinary data type, and you're trying to insert the value 'images/sun.jpeg', which is not Varbinary type.
Do you want to insert the actual image or just it's...
January 28, 2013 at 5:25 am
Taking a backup of live and restoring to the test system will be the easiest way to do this.
Cheers
January 28, 2013 at 3:53 am
Try the sys.linked_logins & sys.remote_logins catalog views - should contain the information you're after.
January 28, 2013 at 3:48 am
Can't agree more opc. Powershell's a bit of a cow to learn but it's so useful I'd recommend it to all DBA's. Great tool to have in your utility belt!
January 26, 2013 at 4:14 pm
Lynn Pettis (1/26/2013)
Gazareth (1/26/2013)
That should...
January 26, 2013 at 3:48 pm
Yep, do that. Management Studio for 2008 & 2012 are separate applications - you run them side by side rather than upgrade 2008 to 2012. Same goes for BIDS.
January 26, 2013 at 5:03 am
Move the conditions on ACTION_TYPE_ID and GROUP_ID out of the WHERE clause and into the LEFT JOIN - they're excluding the 0 rows from the results.
That should do it, although...
January 26, 2013 at 4:44 am
Viewing 15 posts - 586 through 600 (of 1,193 total)