Viewing 15 posts - 151 through 165 (of 231 total)
I believe you must put the db in single user mode before attempting sp_renamedb.
exec sp_dboption dbname, 'single user', true
See BOL.
April 16, 2004 at 7:28 am
Could you post some of your code that uses OLE DB instead of using a DSN. We're in the middle of migrating...
April 16, 2004 at 7:26 am
Try this syntax...
DTSGlobalVariables("myGV_Name").Value = myGV_Value
April 12, 2004 at 7:15 am
Yes, I can see where quotes in the T-SQL would cause SQL Server to think that the first quote it encountered due to the 'literal' was ending the SQL statement and...
April 9, 2004 at 4:33 pm
I see what you're saying, but if the job was executing successfully on the old server, wouldn't that mean that the scripting should come out ok?
April 9, 2004 at 2:58 pm
I'm not sure that I understand. The jobs ran fine under the old server. When I migrated the jobs with CDW, the jobs containing t-sql were not copied to the...
April 9, 2004 at 9:15 am
My best guess is that since the database had not been moved yet, SQL Server could not parse the T-SQL for a database that does not exist on the server...
April 9, 2004 at 8:50 am
Actually, I didn't have any problems with transferring the DTS packages over. Just the Jobs which execute the DTSs. If the Job had T-SQL steps, it was not moved. Can't...
April 9, 2004 at 8:00 am
Try using something like what is shown below in an ActiveX Script task.
You should be able to apply this concept to any task.
(Also, check out http://www.SQLDTS.com)
Option Explicit
April 9, 2004 at 7:49 am
Also, something to remember about Unions:
If you use "Union", this will remove any duplication,
whereas if you use "Union All", this will retain duplicate rows.
April 9, 2004 at 7:40 am
What does your code look like? Is this in Access VBA or VBScript in ASP?
Just some initial thoughts...
1) Bookmark is probably a reserved keyword
2) Set your combo box rowsource =...
April 9, 2004 at 7:37 am
I don't think that this is what I had in mind. Let me explain. I am migrating all databases for one server to another server. In Query Analyzer, I have...
April 8, 2004 at 10:27 am
Is there a T-SQL command to do this?
(instead of specifying the server name when opening QA from a command prompt)
April 8, 2004 at 8:01 am
Thanks Frank!!! I know when I see your name, I'm going to get some good information. I appreciate it!!!
April 8, 2004 at 7:18 am
Viewing 15 posts - 151 through 165 (of 231 total)