Forum Replies Created

Viewing 15 posts - 331 through 345 (of 596 total)

  • RE: DTS Package - On failure, schedule next step

    I've never done this before, but here is a suggestion: 

    1. Create the job manually, then disabled it in EM.

    2. Create another step in your Saturday DTS package so that if...

  • RE: Enterprise manager not working

    SuperSocket info: (SpnRegister) : Error 1355 is not an error.  It means that SQL Server could not register an SPN with Windows. This is very common because most people don't...

  • RE: String Extraction

    Sorry, I just updated my previous post, left out the part that handles 'CD'

  • RE: String Extraction

    Here's a test senario I ran that works for the test data you provided. I changed SERVERNAME to AB1234567890123\XX because this solution depends on the old server name characteristics being...

  • RE: String Extraction

    Do you know both the old server name (source of the backup) and the new server name (target server to which the database was restored)?

    If so, will a simple REPALCE...

  • RE: Getdate function

    Francis, when using the CONVERT function, I suggest you always specify an appropriate length for varchar, i.e.  SELECT CONVERT (varchar(11), getdate(), 106). Using varchar by itself is just shorthand for varchar(30)....

  • RE: full text search on views?

    No, you cannot fulltext index a view.

    You could try to join the view with the FT table(s). Or use an EXISTS subquery, like this:

    SELECT *

      FROM vMyView

     WHERE EXISTS (SELECT...

  • RE: writetext- how to use?

    Yuri,

    Sorry about that - you are correct, expressions are not allowed in WRITETEXT. It been quite a while since I've used WRITETEXT, I didn't test that first

  • RE: writetext- how to use?

    WRITETEXT overwrites the target column with new data. If the source data is greather than 8000 bytes long, the only way you could use WRITETEXT wuold be to concatenate several...

  • RE: if / else statement?

    Jurushia,

    Some of the best minds at SSC are working on your problem. However, I'd like to make a couple of suggestions. You've posted a query that references...

  • RE: @@servername ????????? empty output

    After using sp_addserver, you'll have to stop, then restart, SQL Server.

    EXEC sp_dropserver 'yourServerName'

    EXEC sp_addserver 'yourServerName', 'local'

    Stop SQL Server.

    Restart SQL Server.

    Also, try either or both of these:

    EXEC...

  • RE: Login

    Maybe bmssa (I read this as BMS sa, an alternate sa account) is a server admin. In EM, double click the login id to get the properties window, then check...

  • RE: Cast-Convert question

    Walter, are all the values more than 4 digits? If not, then you will get an error with the conversion. To be safe, you could use one of the following...

  • RE: Shrinking log file implications

    No.

    "Compress pages and then truncate free space from the file" is equivalent to  dbcc shrinkfile('log_file').

    dbcc shrinkfile('log_file', truncateonly) is equivalent to "Truncate free space from end of file".  No log data...

  • RE: Printing command lines

    Are you using the -w switch with OSQL? The default column width is around 72 characters per column.  Try using -w 2000 (or some other number you determine is large...

Viewing 15 posts - 331 through 345 (of 596 total)