Forum Replies Created

Viewing 15 posts - 12,841 through 12,855 (of 13,469 total)

  • RE: create database ldf file placement in sql 2005 is this a bug?

    the model database, or any database for that matter, does not contain within itself it's own storage location...that is kept in master....the model database is used for the default schema...

  • RE: Outer Join performance

    just a follow up; i got the estimated execution plans for a join against two of my big tables using the commands below, and they had both identical estimated execution...

  • RE: Outer Join performance

    *= got deprecated in sql2005, so i'd suggest switching over to the standard format; it's more readable, and is also ANSI compliant, so you can use the same SQl statement...

  • RE: Error trapping fails on INSERT...SELECT

    i think in this case, you would want to raise an error if the value being tested('xxx') was not really numeric; there was another thread on this same subject, and...

  • RE: how to make the script for the triggers only in 2000

    here's another way, note that this does not order the triggers in dependancy order, it just lists them.

    select parent_objects.name,

           trigger_sysobjects.name,

    syscomments.Text

     from sysobjects trigger_sysobjects

    inner join sysobjects parent_objects on parent_objects.id=  trigger_sysobjects.parent_obj

    inner join syscomments...

  • RE: Error msg , not sure where to go next ?

    this sounds like an error returned from a program, not a SQL server error. you'll need to review the source code of the application raising the error.

    you might want to...

  • RE: Full server documentation into an .xls?? Using this sp...

    emabarrassing...my home server crashed, and I can't seem to locate a copy of this that I created. If anyone still has it, could you forward me a copy so I...

  • RE: Data types / lengths and primary key efficiency

    it's the index seek you would worry about when it comes to sorting.

    If a SQl statement says WHERE PK='2002', the sorting is used in the PK's index to quickly lookup...

  • RE: concatinating string greater than 8000 into a text column

    situations like this is where I switch from doing everything in TSQL, to grabbing the data in .NET or vb6, where the String variable type does not have this limitation;

    I'll...

  • RE: Data types / lengths and primary key efficiency

    if the fields are indexed, then technically the CHAR fields would take up more space, which would mean less data per page of memory; more data per page is better,...

  • RE: Running total in reverse order.

    sorry about the confusion.

    in my sample, these two tables are the same: #TESTDATA = gdb_01_4_test

    i didn't have the data, so i had to create it to confirm that my sample...

  • RE: Data design/ datetime

    there was a post today referencing "Death By SQL", where the user slowly kills himself by separating date and time, when they can be stored in the same field....I think...

  • RE: Simple query

    SELECT DISTINCT PolicyNumber

    from GE_Transaction

    WHERE Status='A' AND MonthReported < DATEADD(year,10,EffectiveDate)

    i reversed the argument;

    i don't know that MonthReported is a valid date, you'll have to evaluate with data to see if...

  • RE: Simple query

    SELECT DISTINCT POLICYNUMBER WHERE STATUS='A' AND MonthReported < DATEADD(year,EffectiveDate,10)

  • RE: Running total in reverse order.

    based on your example data, I assumed that Flight 38 for example might have more records added at any time; because of that, if I created another table with the...

Viewing 15 posts - 12,841 through 12,855 (of 13,469 total)