Forum Replies Created

Viewing 15 posts - 961 through 975 (of 1,109 total)

  • RE: Select column1,column2 from(exec SP_name) Where column1 = xx

    As far as I know Lynn's solution is the only one. You can create a table that has the same column types as the exec result, and then insert into...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Please give a Suggestion

    It depends. Among others, it depends on your location (country, city). Have you had a look at job advertisements in your chosen area?

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Unable restore a backup file.

    First run

    RESTORE HEADERONLY FROM DISK = N'c:\myBackup.bak'

    just fill in the backup path.

    This will give you information about what backup sets there are in this backup file, whether they are...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Performance Tuning Guide

    Assuning that you are using SQL Server 2000 (since these are the 7 and 2000 forums, and I hope you are not stuck with 7


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Dynamic Sql and Performance

    Karthik,

    also, instead of using cursors to iterate through the tables you may want to consider sp_msforeachtable . (this is not in books online, but searching these forums or google helps...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Dynamic Sql and Performance

    Karthik,

    It depends on how log it takes to execute the above query. If it takes more than a few seconds, then the answer is likely that it does not matter...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Procedure and Temporary Table

    You can read more about local and global temporary tables on http://msdn2.microsoft.com/en-us/library/ms174979.aspx

    towards the middle of the page.

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Procedure and Temporary Table

    If you want to share a temporary table you could use global temporary tables. These have two # in their names, like ##foo.

    These tables are created in the temp db....


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Statement return value

    Hi Karthik,

    it very much depends on your requirements. E.g. whether you can recover from an error, or you need to abort the transaction immediately. I would recommend you to read...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Database and SetBased Thearoy

    Hi Karthik,

    By row-by-row I assume you mean some kind of predefined ordering, like what sequential files have. But many times data does not require such an ordering at all. Do...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Statement return value

    Have a look at @@error

    http://technet.microsoft.com/en-us/library/ms188790.aspx

    Regards,

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: cANNOT LOGIN AFTER BRINGING SQL SERVER IN SINGLE USER MODE

    Something is connecting to the server before you do. Does this machine have a console? If so, could you disable the network and and restart SQL server from the command...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Table usage

    If you want to know when the table's schema has been altered, you can look at the modify_date column of sys.objects.

    This works retrospectively.

    If you only query the data in a...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: cANNOT LOGIN AFTER BRINGING SQL SERVER IN SINGLE USER MODE

    Could you also try to start your server from the command prompt and then connect via osql?

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: cANNOT LOGIN AFTER BRINGING SQL SERVER IN SINGLE USER MODE

    Sorry, before your comment I have updated my post to refer to 2000. The Management Studio stuff is not relevant.

    can you connect using osql?

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

Viewing 15 posts - 961 through 975 (of 1,109 total)