Viewing 15 posts - 24,286 through 24,300 (of 26,486 total)
Just a guess, but if I remember correctly that sounds like a permission error or the directory you are trying to access does not exist.
😎
September 8, 2008 at 10:05 am
Also, unless you have space constraints, I would not backup directly to a network share. Any network issues will cause your backup to fail. I'd backup to a...
September 8, 2008 at 9:45 am
Okay, one last try. I found another place that required a change. I also copied the generated sql to a seperate window in SSMS and checked the syntax,...
September 8, 2008 at 9:40 am
I found one more error when I rechecked my code. Try this:
declare @name nvarchar(200)
declare @month nvarchar(100)
declare @year nvarchar(100)
declare @filename nvarchar(900)
set @filename = N'D:\Data\'+@name+ '_Data.MDF'
set @month = month(convert(nvarchar(16),getdate(),112))
set @year =...
September 8, 2008 at 9:29 am
You had some issues with your single quotes ('). try the following code:
declare @name nvarchar(200)
declare @month nvarchar(100)
declare @year nvarchar(100)
declare @filename nvarchar(900)
set @filename = N'D:\Data\'+@name+ '_Data.MDF'
set @month = month(convert(nvarchar(16),getdate(),112))
set @year...
September 8, 2008 at 9:27 am
Basic response, it depends. You really need to look at the requirements of each database/application. It may make sense to have a mission critical database/application on its own...
September 8, 2008 at 9:21 am
I would also guess it depends on what you are doing inside the trigger as well. As I stated earlier, when I did write triggers (not that I don't...
September 5, 2008 at 12:32 pm
Curious, what does the query in the sproc look like?
😎
September 5, 2008 at 12:22 pm
If you have created the table for development, why drop and recreate it everytime? I'd change the create to truncate the existing table.
😎
September 5, 2008 at 12:02 pm
Yes, changing the recovery model from full to simple will truncate the log allowing you to shrink the log. Immediately after shrinking the log, change recovery model back to...
September 5, 2008 at 11:00 am
icocks (9/5/2008)
September 5, 2008 at 8:30 am
Also, MERGE isn't available in SQL Server 2005, and our LOB systems will not migrate to SQL Server 2008 until the vendors support SQL Server 2008. We just now...
September 4, 2008 at 3:37 pm
Are you using SQL Servers BACKUP and RESTORE? You may want to consider purchasing a third-party backup solution that will allow you to compress your backups files during the...
September 4, 2008 at 12:44 pm
You're 1/3 of the way there. Still need sample data and expected results based on the sample data.
We can at least start looking at the query, but we need...
September 4, 2008 at 12:38 pm
Viewing 15 posts - 24,286 through 24,300 (of 26,486 total)