Forum Replies Created

Viewing 15 posts - 3,646 through 3,660 (of 7,429 total)

  • RE: Reducing, re-indexing large tables and backup them

    Ok then how about a secound table with the PK value from the primary table when archived. Call it of course archived and when the user places a value in...

  • RE: Dates spanning 2002 - 2003

    I see it now.

    As ANdy states in the first it is a char compare not datetime. I forget this sometimes myself. In simple terms look at it this way.

    You output...

  • RE: Error while deleting linked server

    Close EM and reopen, or try restarting SQL Server and see if problem persists.

  • RE: A newbie question about db design

    One thing to also keep in mind with Compound keys make sure when the index is created the most unique value column is listed first as the stats are based...

  • RE: Solution looking for a problem!

    Actually order of tables does not always work like you would assume. I find the joins faster when you start from the least resultset size to the larger since you...

  • RE: record creation advice

    In the case of SQL 7 you will use @@IDENTITY as soon as the insert occurrs in your SP. However it may stil be affected by a later INSERT if...

  • RE: Desperately seeking the Rosetta Stone

    First what driver are you using to talk to SQL Server from mainframe thru COBOL as this will have berring on what you can do?

  • RE: Job Scheduling - interesting requirement

    Sorry here but, Steve did we have a wee bit too much of the nip for lunch today. As long as runs every Sunday then you will not have to...

  • RE: Need to append to text variable

    Why not pull the process within SP B into SP A so that you don't have to deal with this. Not sure if it will work but it may be...

  • RE: non-logged operations

    I guess that is more of a misconception than not. It is actually minimal logging that occurrs on some things such as Truncate Table and depending on your Recover Model...

  • RE: Using DateTime column in where clause

    You could also do

    WHERE convert(char,dates,101) BETWEEN '12/01/02' AND '12/31/02'

    As for which is faster, it seems between is but when you look at the Execution Plan it reads back as "dates...

  • RE: How to estimate Transaction log size

    Sorry no formual needed. If you are going to delete all records at one time then just do a

    TRUNCATE TABLE and it will not log that much.

    If you are...

  • RE: sp_who2

    I have never seen anything like this particularly. The names come from sysprocesses and those names are translated from the connecting machine. Odds are someone has a naming convention where...

  • RE: Transaction Log growing out of control!!

    The checkpoitn will not occurr until the operation completes or rolls back. So it will but only when done.

  • RE: Table name and update paras in Stored proc

    Because of this

    update (@TableName)

    you cannot substitute a table name in TSQL this way and thus it fails.

    If the second failed then would have to have the error message to...

Viewing 15 posts - 3,646 through 3,660 (of 7,429 total)