Forum Replies Created

Viewing 15 posts - 886 through 900 (of 907 total)

  • RE: Can't Backup MSDB!!!

    If you haven't change the standard installation for logs, it would be the errorlog file in the log directory under the mssql directory. Also you can look in...

    Gregory A. Larsen, MVP

  • RE: Line numbers in Query Analyzer

    To find out the line in QA for a given statement do this:

    1) Place you cursor on a statement in QA for which you want the line number

    2) Then look...

    Gregory A. Larsen, MVP

  • RE: Bulk Insert Rights

    Are you really sure you want to give a web user SYSADMIN permissions? I think I would have picked BULKADMIN role. I don't put anyone in SYSADMIN except...

    Gregory A. Larsen, MVP

  • RE: Bulk Insert Rights

    Is the users a member of the sysadmin or bulkadmin role? It is my understanding that the user needs to be in one of these roles to execute BULK INSERT....

    Gregory A. Larsen, MVP

  • RE: Using variables in CREATE DATABASE

    Not sure exactly what your problem is, but if I was to write a procedure similar to what you want to do it would look something like this. Hope...

    Gregory A. Larsen, MVP

  • RE: See First Occurrence Only

    Here is something that might help. This example select one order per store. The order selected happens to be the newest/most recient order. Possibly can can use...

    Gregory A. Larsen, MVP

  • RE: Windows Authentication : Where to start

    Gee possible MSSQLCrack might be useful to find out that sa password. You might consider reading the following article by Steve Jones:

    http://www.sqlservercentral.com/columnists/sjones/reviewmssqlcrack.asp

    -------------------------

    If you looking for SQL Server Examples check...

    Gregory A. Larsen, MVP

  • RE: Can't Backup MSDB!!!

    Does the errorlog file in the log directory contain any information to help you determine why you might be abnormally terminating.

    -------------------------

    If you looking for SQL Server Examples check out my...

    Gregory A. Larsen, MVP

  • RE: Can't Backup MSDB!!!

    Any error messages associated with the abnormal termination?

    -------------------------

    If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples

    Gregory A. Larsen, MVP

  • RE: Best way for multiple choices in a search

    Basically I'm guess you would like to have a record based on the checkboxes a person selects. I'd like to suggest you implement a relational design where you have...

    Gregory A. Larsen, MVP

  • RE: help with date formatting

    Try this out......

    -- mm/dd/yy format

    select convert(char(8),getdate(),1)

    -- mm/dd/yyyy format

    select convert(char(10),getdate(),101)

    -------------------------

    If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples

    Gregory A. Larsen, MVP

  • RE: help with date formatting

    quote:


    How do I format the result returned by getdate() into mm/dd/yy format?

    I've gotten as far as:

    PRINT CONVERT(DATETIME,GETDATE(),101)

    but that gives me the time...

    Gregory A. Larsen, MVP

  • RE: Bypassing recovery

    A database is in LOAD status when you are in the middle of restoring it. Typically this occurs when you are restoring from multiple backups (full, differential, and transaction...

    Gregory A. Larsen, MVP

  • RE: results set formatting

    I'm guessing you mean the trailing spaces behind the table names. If so would something like this work for you:

    declare x cursor for

    select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_TYPE='BASE...

    Gregory A. Larsen, MVP

  • RE: Stored Procedure Defintion

    I think I might consider generate a T-SQL scripts in EM to generate a listing of all stored procedures.

    Would that work for you?

    -------------------------

    If you looking for SQL Server Examples check...

    Gregory A. Larsen, MVP

Viewing 15 posts - 886 through 900 (of 907 total)