Forum Replies Created

Viewing 15 posts - 16 through 30 (of 86 total)

  • RE: DYTPE IN

    Year would be another column and the query is looking for 2008.

    Greg

  • RE: DYTPE IN

    It looks like DTYPE is the column name. IN refers to the values inside the parenthesis. Basically it could be rewritten as DTYPE = 'DEPR' OR DTYPE =...

  • RE: Inserting XML into a temp table

    Although I never figured out why the same stored procedure was behaving differently in the two different environments, I did resolve this issue. I decided to take a completely...

  • RE: Inserting XML into a temp table

    Here are the two execution plans.

  • RE: Attached Database Without LDF

    You can attach the .mdf file without the .ldf file. When you go to attach it, the interface may say log file not found in the lower pane. ...

  • RE: Why Are There So Many Editions?

    GSquared (2/25/2009)


    matt stockham (2/25/2009)


    Steve Jones - Editor (2/23/2009)


    Produce new SKUs? Why not "unlock" features? You have the technology in the XBOX group to unlock things according to some event.

    You mean...

  • RE: using a composite column name in Select

    If I understand correctly, you want one total result set instead all of the individual ones. If your iteration is happening in the stored procedure, you can insert them...

  • RE: Get data from vertical to horizontal table

    One of the main reasons to use a join is to get data from more than one table. The above query should work assuming that the columns specified are...

  • RE: using a composite column name in Select

    Your open parenthesis is in the wrong place. (exec @sql) should be exec (@sql).

    Greg

  • RE: Query across Databases

    You can query across database using three part naming. For example:

    SELECT * FROM Database.Schema.Table

    Greg

  • RE: Max/Min Memory, and perfmon

    Max and min server memory is in MB, so your setting is way too high.

    Greg

  • RE: Physical join

    Because it's not the only correct answer. Without giving away the answer, the answers were check boxes. You needed to select more than one.

    Greg

  • RE: Return SQL count even if it's zero

    I agree with Matt. The pseudo code that you posted doesn't tell us what tables the three columns are from or what the relationships between the tables are, etc....

  • RE: LTRIM and RTRIM.

    Yes. RTRIM(LTRIM(columnname))

    Greg

  • RE: Return SQL count even if it's zero

    Try using ISNULL(COUNT(col2), 0). That should replace the NULL values with a zero.

    Greg

Viewing 15 posts - 16 through 30 (of 86 total)