Forum Replies Created

Viewing 15 posts - 916 through 930 (of 2,904 total)

  • RE: Why is this not working?

    #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

  • RE: Question of the Day for 28 Aug 2006

    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....

  • RE: error code 208 during maintenance plan Translog backups

    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...

  • RE: Question of the Day for 28 Aug 2006

    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...

  • RE: ADD another where clause?

    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...

  • RE: database tables in read only mode after restore

    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...

  • RE: MSSQLSERVER service terminated unexpectedly

    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...

  • RE: SQL Server Logins ???

    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...

  • RE: MSSQLSERVER service terminated unexpectedly

    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...

  • RE: database tables in read only mode after restore

    What were your restore commands? Is this database part of a publisher/subscriber replication?

    -SQLBill

  • RE: ADD another where clause?

    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...

  • RE: restore database error

    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...

  • RE: change database options

    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',...

  • RE: SP4 Install not applied

    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

  • RE: change database options

    Okay. You stated what you need to do. So what's your question?

    -SQLBill

Viewing 15 posts - 916 through 930 (of 2,904 total)