Forum Replies Created

Viewing 15 posts - 8,356 through 8,370 (of 9,707 total)

  • RE: How to retrieve sybase data from ms sql?

    I know nothing about Sybase, but... Does Sybase even use owners/schemas the same way SQL does? Does "dbo" mean anything to Sybase at all?

  • RE: Problem sending messages

    I was, quite a while back, but the problem seemed to fix itself.

    What exactly is or is not going on? Tell us step by step what you're doing and where...

  • RE: Group By clause

    Now I feel silly. @=)

    I went back through my most recent examples and found I'd re-written my code to use nested sub-queries because our BU decided they wanted different values,...

  • RE: SQL GROUP statement

    Ahh. I did not realize this was a homework assignment. That changes things, unfortunately. We don't answer homework assignments or interview questions on this board.

    What I can do is give...

  • RE: SQL GROUP statement

    Okay, let's start with the first question.

    What do you want to do (in English) with the results. Forget about your original post. What is the intent of gathering this...

  • RE: SQL GROUP statement

    I have to agree with Chris. I really don't think that query will get you the results you want.

    But you'd have to post sample data and expected results for us...

  • RE: Reg. Upgrade Sql Server 2005 RTM to stable version

    I don't know about Sharepoint is affected by SS SP2, but I haven't noticed any data loss on my servers from installing SP2.

    In fact, there shouldn't be data loss from...

  • RE: SQL GROUP statement

    You're welcome. Though, I'm not sure we helped much.

    You might want to make very very sure your result set matches the expected data before you cheer.

  • RE: Reg. Upgrade Sql Server 2005 RTM to stable version

    You're welcome. Let us know if you have any other questions.

  • RE: Pivotting

    Select your CTE into a Temp Table (or create the TempTable first for better performance and then do the CTE...Insert). Then work off the Temp table.

    That should resolve the issue...

  • RE: Forum Software question

    Steve & Lowell,

    Thanks for the advice. I appreciate it.

    Looks like I have major research to do on the issue. But at least now I know where to start. @=)

    Thanks again,

  • RE: Case statment:while runing the below sql stmt i get execption :Case statment: Msg 102, Level 15, State 1, Line 7:

    May I ask about the values of annual_review_type_id? If you can avoid using a function in your WHERE clause, your life will be much easier. Because the function evaluates for...

  • RE: Pivotting

    Might I also recommend using a JOIN on your @Fields query instead of a sub-query WHERE clause?

    IE:

    FROM CaseType ct

    JOIN [CASE] c

    on ct.CaseTypeRef = c.CaseTypeRef

    ORDER BY Name ASC FOR XML PATH('')

    Works...

  • RE: Pivotting

    Dave,

    A couple of things. First, don't use text() as a column name. That's a terrible habit to get into. In fact, if you can avoid it, don't use keywords...

  • RE: SQL GROUP statement

    munderhill73525 (3/23/2009)


    Using the Employees table below how would you select by Last_name and group by Salary within EE01_Classification?

    I thought this would work but no dice thus far:

    Select Last_name

    FROM Employees

    GROUP...

Viewing 15 posts - 8,356 through 8,370 (of 9,707 total)