Viewing 15 posts - 181 through 195 (of 270 total)
Greg,
Thanks for the tip (I didn't know you could do that!); unfortunately, the problem appears to be system related (what it is I am unsure!). The error after the restore is...
May 2, 2006 at 7:14 pm
The strange thing is that the database was restored with the RECOVERY option. The database was left in a LOADING state due to the error that was raised...
May 2, 2006 at 7:52 am
Hi Terry,
No they are different in a number of config values; but I can't see anything obvious that would help me to resolve the problem!
As a work around to restoring...
May 2, 2006 at 7:17 am
I simply perform a normal full backup of a database (doesn't matter which one) with the INIT command. Then created a new database, and perform the restore. The error is...
May 1, 2006 at 5:40 pm
Thanks tosscrosby.
I did read the article from ITtoolbox, though helpful, it did not resolve my problem.
The backup of the databases have been restored successfully on a different server but not...
April 27, 2006 at 7:42 pm
There is a 'compatibility collation', which is somewhat different to either SQL Collation or Windows Collation. This knowledge base article has more about it, if you're interested:
April 23, 2006 at 10:29 pm
You will have issues if the SP has temp table or declared table variables having character fields not defined with the COLLATE DATABASE_DEFAULT option. As these tables are created in...
April 20, 2006 at 9:27 pm
You should always create a windows account with password set to 'does not expire' as a service account for starting the SQL Server and SQL Agent services; otherwise, everytime you...
April 17, 2006 at 7:08 pm
Just make sure that no one else is using the database. After which you can use the sp_detach_db and sp_attach_db after the relevant files are moved to their new location.
April 11, 2006 at 11:37 pm
One should always take comments like this to be instructive, which is what it was meant to be! In any case, BOL should be your first point of call -...
April 3, 2006 at 7:54 pm
It looks kosher to me! What is so peculiar about it?
April 3, 2006 at 7:30 pm
This seems to work:
select convert(varchar,cast(12345 as money),1)
March 30, 2006 at 4:37 pm
A Foreign Key (FK) column is a column that has a FK constraint defined. Assuming you have these two tables:
Create Table dbo.TableA (ID1 INT NOT NULL PRIMARY KEY, ColA1 VARCHAR(10))
Create...
March 29, 2006 at 5:13 pm
Search BOL for the DATEPART() function. You can use this in the body of your SP to associate the year, month and day parameters; or simply use it in-situ!
March 28, 2006 at 4:36 pm
You may need to store the files in a table first, eg.
create table #files (file_properties varchar(1000))
INSERT INTO #files (file_properties)
EXEC master..xp_cmdshell 'DIR <switches and parameters>'
The DOS command 'DIR' provides a switch...
March 28, 2006 at 4:15 pm
Viewing 15 posts - 181 through 195 (of 270 total)