Forum Replies Created

Viewing 15 posts - 1,546 through 1,560 (of 2,487 total)

  • RE: Temp Tables or Something Else ??

    Your going down the right track. Instead of using a temp table in tempdb, use a permanent table in your database, or if need be, a seperate staging database. Just truncate...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Insert or Update Stored Procedure

    Are you using an external app (DTS, VB, etc...) which determines if a record exists?

    One option is to create a seperate stored procedure for each action. Then create another procedure which...

    --------------------
    Colt 45 - the original point and click interface

  • RE: How to create a view based on a linked server/instance

    A good tip for dealing with instances is to use a variation of the standard sp_addlinkedserver syntax and give the linked server a different name.

    EG: sp_addlinkedserver 'Server_Inst', ' ', 'SQLOLEDB', 'Server\Inst'...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Recommendations for a Query Analyzer replacement

    Thanks Frank, another one to add to the list

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: triggers sysprocess system table

    If you already have the server setup as a Remote Server then you'll need to give the linked server a different name.

    EG If you have a server called ServerA. It...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Error handling in SP

    Ok, given the small amount of records, how about running a short VBScript over the file to split it into a seperate file for each table. Once that is done...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Error handling in SP

    Is this related to this task you were asking about previously?

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=159272&p=3

    How big is the file you're importing?

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Error handling in SP

    I think you'll find that a "Syntax Error" aborts the batch.

    If you want to ignore the error, why not validate the data before executing the statement? Maybe something like ISDATE()...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Problem in creating indexed view

    I don't think it's to do with the outer join. Make sure you have followed Books Online exactly. If you miss even one part you won't be able to define...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Error handling in SP

    What is the error you are recieving?

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: what is a transaction?

    How about you check the glossary in Books Online. Then if you need further clarification, clearly state what you don't understand.

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: copy sprocs to new (beta) DB

    Better than looking at Syscomments. Use the Information_Schema views. Best bet is probably INFORMATION_SCHEMA.ROUTINES.

    Although given that you're comparing object across different servers, It might be better to try one of the many...

    --------------------
    Colt 45 - the original point and click interface

  • RE: sql 2000: Data Maintenance Plan failing on Logs

    Check the recovery model of the database that is failing. If it's set to 'simple', then you can't do transaction log backups.

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Recommendations for a Query Analyzer replacement

    As AJ has said, What features are you wanting that QA doesn't provide?

    There are quite a few editors out there,

    - the afforementioned ApexSQLEdit

    - SQL IDE from Imceda http://www.imceda.com/SQL_IDE_Description.htm

    - for...

    --------------------
    Colt 45 - the original point and click interface

  • RE: triggers sysprocess system table

    Take a look at my script over here,

    http://www.sqlserver.com.au/resources/ViewResource.aspx?resourceId=8

     

    --------------------
    Colt 45 - the original point and click interface

Viewing 15 posts - 1,546 through 1,560 (of 2,487 total)