Viewing 15 posts - 916 through 930 (of 2,904 total)
#1 problem:
select sql = '''2'''
You are trying to make your variable become '''2''', but that's not a variable. It's missing the @ symbol.
select @sql = '''2'''
-SQLBill
August 28, 2006 at 11:48 am
Nope. The issue is with NAMING stored procedures. This is why you should NEVER name a stored procedure with the beginning 'sp_'. That automatically defaults to the master database....
August 28, 2006 at 11:42 am
And when you select View Job History, the next part is to check the box.."Show Job Steps". That way you can see the exact step that failed.
Quick guess.......you are probably...
August 28, 2006 at 11:35 am
Nope...the PRINT part is only part of the sp_who created in Northwinds. When the script actually runs (EXECUTE sp_who) it runs the version in Master. That is why...
August 28, 2006 at 8:55 am
It's not that you shouldn't post Oracle questions. You'll see others do it since some people have to link Oracle and SQL Server databases. However, you should let everyone know...
June 28, 2006 at 6:46 pm
You say "I have a full and differential backup, while restoring differential backup I have used recovery option." But the only command you show is the one above and...
June 28, 2006 at 6:44 pm
You say " I see the new log created". So it seems you only checked the new log....take a look at the previous log also. There will be more than...
June 28, 2006 at 6:42 pm
You cannot revoke sysadmin from SA. That login is 'wired' in by Microsoft and can't be changed. However, if you really want SA to 'not work', you can change the...
June 27, 2006 at 11:04 am
I would look at the server. Did it 'crash' also? Was there a power surge? Also, look at the 'previous' SQL Server error log. (Restarts create new logs). See what...
June 27, 2006 at 11:01 am
What were your restore commands? Is this database part of a publisher/subscriber replication?
-SQLBill
June 27, 2006 at 10:59 am
Just some advice.......that looks like ORACLE syntax (TO_CHAR, SYSDATE, SUBSTR), not SQL Server syntax. You might do better by posting ORACLE queries in an ORACLE site. While some of...
June 27, 2006 at 7:23 am
How do you backup the databases? You CANNOT just 'copy' the .mdf and .ldf files to tape. It won't work...well, you can copy them, but they are unusable.
There are two...
June 27, 2006 at 7:17 am
Use the ALTER DATABASE command to set them:
ALTER DATABASE dbname
SET Quoted_Identifier ON,
Arithabort ON
Then to test for them, check the DATABASEPROPERTYEX.
SELECT DATABASEPROPERTYEX('dbname', 'IsQuotedIdentifierEnabled'),
DATABASEPROPERTYEX('dbname',...
June 26, 2006 at 1:23 pm
Is there only one instance, or do you have several SQL Server instances? If you have more than one instance, you must run the upgrade for each instance.
-SQLBill
June 26, 2006 at 11:14 am
Okay. You stated what you need to do. So what's your question?
-SQLBill
June 26, 2006 at 11:06 am
Viewing 15 posts - 916 through 930 (of 2,904 total)