Forum Replies Created

Viewing 7 posts - 61 through 68 (of 68 total)

  • RE: Union query problem

    select * from table 1 union select * from table 2 should do it.  If you wish to have all rows from both tables returned (in your example, row 1,...

    Gordon Pollokoff

    "Wile E. is my reality, Bugs Bunny is my goal" - Chuck Jones

  • RE: Templates for Documenting a SQL Database

    Search the scripts database, there are a couple of very good scripts for generating documentation of your database. 

    Also, you may want to check out http://www.ag-software.com/.  They have a...

    Gordon Pollokoff

    "Wile E. is my reality, Bugs Bunny is my goal" - Chuck Jones

  • RE: Timeout expired Problem

    You said you tried Server.ScriptTimeout = numseconds but did you try Server.ScriptTimeout = 0 seconds.  This should effectively turn ScriptTimeout off.

    Gordon Pollokoff

    "Wile E. is my reality, Bugs Bunny is my goal" - Chuck Jones

  • RE: restoring a backupdevice on another machine

    try executing xp_fileexist to see if the file exists.  Alternatively, you can select from syslogs to find out the expected locations of the .mdf/.ldf files.

    Gordon Pollokoff

    "Wile E. is my reality, Bugs Bunny is my goal" - Chuck Jones

  • RE: DTS Import from Excel Spreadsheet problem

    When importing from excel, SQLServer checks a predetermined number of rows to determine the datatype.  IIRC, the default is 8-10 rows.  If your first 8-10 rows contain integers, it will...

    Gordon Pollokoff

    "Wile E. is my reality, Bugs Bunny is my goal" - Chuck Jones

  • RE: Differences between sp_executesql and execute

    From BOL

    Transact-SQL supports two methods of building SQL statements at run time in Transact-SQL scripts, stored procedures, and triggers:

    • Use the sp_executesql system stored procedure to execute a Unicode...

    Gordon Pollokoff

    "Wile E. is my reality, Bugs Bunny is my goal" - Chuck Jones

  • RE: Variation of row numbering problem

    Aaron,

    Thanks for the reply.  I had already solved the problem though it was good to see that my solution was essentially the same as yours.

     

    Gordon Pollokoff

    "Wile E. is my reality, Bugs Bunny is my goal" - Chuck Jones

Viewing 7 posts - 61 through 68 (of 68 total)