Forum Replies Created

Viewing 15 posts - 31,621 through 31,635 (of 49,552 total)

  • RE: How do youset a trace to run at given times.

    Script it out (as a server-side trace), set the required variables, stick it in a SQL Agent job.

    In profiler: File -> Export -> Script Trace Definition.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Insert into table causing deadlocks?

    Enable traceflag 1222. That will make the SQL engine write a deadlock graph into the error log every time a deadlock occurs. Post the deadlock graph and definitions of all...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Reindexing SQL Server 2000 DB causes large log file

    balaji.ganga (7/27/2010)


    Backup log databasename with truncate_only

    Which breaks the log chain and leave you unable to take log backups or do point in time recovery until another full/diff backup is...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: help. Trigger to create log file

    I think you're going to have to explain in more detail what it is you want to do here.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: when i issue rollback the temptable is also droped reason plz

    SQL* (7/26/2010)


    But the temp table will be created in temp database right,

    Yes

    then how the table dropped with out issuing a drop statement.

    Because it was created within a transaction. When...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    The Dixie Flatline (7/26/2010)


    GilaMonster (7/26/2010)


    Jack Corbett (7/26/2010)


    Wow, Honeywell is hiring a database guy. Based on the databases I've seen behind Honeywell products you are the first.

    That's not something I'd...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Jack Corbett (7/26/2010)


    Wow, Honeywell is hiring a database guy. Based on the databases I've seen behind Honeywell products you are the first.

    That's not something I'd like to hear about...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Lynn Pettis (7/26/2010)


    Going to work for Honeywell. Government contracts, about all I can really say.

    Sounds intriguing...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Many DeadLocks

    Jeff Moden (7/26/2010)


    BWAA-HAA!!!! Gotta love that... MS "supports" deadlocks. :-):-D:-P;-):hehe:

    The Sharepoint team only.

    Someone I know took this problem to customer support. The SQL support team looked over the logs,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Max Database size?

    Same as any other edition (other than express)

    524 272 Terabytes

    Doubt you'll need to worry about hitting that any time soon

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: ISNUMERIC Issue

    Steve Jones - Editor (7/26/2010)


    Michael Valentine Jones (7/26/2010)


    It would by handy if SQL Server had an enhanced IsNumeric function that you could pass a specific target data type to, but...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: ISNUMERIC Issue

    Nevyn (7/26/2010)


    The way "money" and thus "isnumeric" handles commas seems to be fairly dumb, though.

    Tell me about it.

    There are days that I'd kill for an IsNumeric that returns...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: ISNUMERIC Issue

    apat (7/26/2010)


    select isnumeric('100,200') gives me 1.

    Shouldn't it be 0?

    No.

    SELECT CAST('100,200' AS MONEY)

    Result:

    100200.00

    IsNumeric returns true if the value can be case to one of more of the numeric data types. Which...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: declaring datatypes

    I can see it's a single line. What I'm asking is whether that should be a single column or multiple. It looks like there are multiple things in there. If...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Order by is not working

    Since the column name is a reserved word, you need to enclose it in [] every time you reference it.

    select cvnt_page_stub, overview_control_id, status_id_list, [order]

    from dbo.LU_OVERVIEW_CONTROL_PAGE locp

    order by [order]

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 31,621 through 31,635 (of 49,552 total)