Forum Replies Created

Viewing 15 posts - 946 through 960 (of 1,065 total)

  • RE: Updating specific strings to UPPER

    Try making the Where clause:-

    WHERE UPPER(STREETNAME) <> STREETNAME

  • RE: Lost the MDF, have the LDF

    If your database was in 'Full' recovery mode, then your transaction log may well contain all of your transactions.

    You might then be able to resurrect a lot of the data...

  • RE: Not in

    stax68

    You're right, the query was considerably more complex than this.

    It happened a while ago, so I don't know if I will be able to find the details. If I do,...

  • RE: Not in

    Steve

    Beware of using your method, I have seen a case where that didn't work.

    I had 2 very similar queries, one worked, the other didn't. When I examined the query...

  • RE: indexes

    You won't get a clustered index seek on your where clause because of the functions operating against the table columns. e.g. upper(Chapter).

    If you have your SQL Server collation configured as...

  • RE: DSN to SQL Server on a 2nd server?

    ODBC will only list those databases that your Userid has permissions for.

    Check in Enterprise manager to see if your UserId has permissions to the missing databases.

  • RE: bcp in a trigger for delete

    Try running the BCP command that your code generates in a Command Prompt.

  • RE: SQL Server Performance Counter Lost

    Have a look at Knowledgebase article 812915.

    We ran into this bug as soon as we installed SP3.

  • RE: Data Referential Integrity - when do you use it?

    Just because the database is only used by one application, doesn't mean a 'numpty' (or a DBA) couldn't use the likes of Query Analyser to delete a crucial record.

    If there...

  • RE: bcp in a trigger for delete

    Your proposed solution will not work, because the DELETED table is only a psuedo table available to the trigger. Your BCP will start using another thread and will not have...

  • RE: vbscript in sql server

    Your best bet would be to execute your VB Application or VBScript via xp_cmdshell.

    You could then use SQL Agent to schedule the executions of the xp_cmdshell script

  • RE: Database dump using command line

    You could run the BACKUP DATABASE command in a sql script using ISQL with the -S option to specify the name of the server to run the script on.

  • RE: DBCC UPDATEUSAGE and EM question

    The stored proc sp_spaceused uses the values taken from the sysindexes system table.

    The values in sysindexes are not guaranteed to be accurate, as some bulk operations don't correctly update them.

    ...

  • RE: Mimic Current Activity behaviour

    DBCC INPUTBUFFER(spid)

    This only gets the first 255 characters of the command.

    SP3 introduced the fn_get_sql function (see the updated SP3 BOL for details), which returns the information in a text column.

    ...

  • RE: Log shipping and Full backup relationship

    Log Shipping happily exists alongside full backups.

    Although the full backup also backs up part of the transaction log, the integrity of the transaction log backups is maintained.

    Therefore, if you do...

Viewing 15 posts - 946 through 960 (of 1,065 total)