Forum Replies Created

Viewing 15 posts - 541 through 555 (of 2,469 total)

  • RE: Parameters limited to 900 characters

    Actually, if you set the option in QA under "Tools - options - Results" to display as "Results to text", you could view the data....

    I always use this option specially...

  • RE: Parameters limited to 900 characters

    Guess the other lesson that you should add to this is to use Query Analyzer as much as possible...

  • RE: Update Totals

    select myTable.orderNum, myTable.LineNum, Qty, a.total
    from myTable inner join
    (select orderNum, sum(Qty) as total from myTable group by orderNum)a
    on
    myTable.ordernum = a.orderNum 
    
  • RE: Help Ordering Result Set

    unless you want something like this..

    select min(date) as date, employer from myTable

    group by employer

    ?!?!?!

  • RE: Help Ordering Result Set

    Sorry Ed - I've stared & stared at "Here is an example of how I want the result set to be ordered:" and still don't understand...

    could you please explain again...maybe...

  • RE: Help Ordering Result Set

    Maybe I am not understanding the requirements correctly, but ordering by employer & date should give you what you want...

    could you please post the...

  • RE: Eliminate timeout when posting reply to a post

    NOT funny when this happens but I just wanted to post the links to at least 3 different times in the past when this issue has been discussed..

    missing posts...

  • RE: Moving

    wow indeed - 35 acres - & they say that "no man is an island"..

    In the D.C metro area, land is at such a...

  • RE: How can I change the query result''''s data?

    Henry,

    Why don't you post the "select" that gets you your 500 rows as well as itemise the updates you want done...

    However complicated it is, I am +ve that someone here...

  • RE: How can I change the query result''''s data?

    You can edit directly in EM (as Paul) suggested but you'd be better off seeking help with your update statement and doing it in one fell swoop rather than manually...

  • RE: How do I get prev/current/next record (no cursor)?

    sorry for asking what may be a stupid question - are you sure you meant columns and not rows... ?!?!

    Another alternative to get all your rows is to store the...

  • RE: Multiple Inserts using SP

    raj - are you sure preethviraj's solution is the logic you want to use ?!

    Also, what do you mean by wanting to add "another value"...is that an additional filter that'll...

  • RE: How do I get prev/current/next record (no cursor)?

    It'd be much easier to provide a solution if you post your sproc...all depends on your parameter, query etc...for example, if your parameter is an ID, you could so something...

  • RE: Stored Procedure

    1) Pl. post some sample rows from your tables.

    2) If you run with actual values, do you get the right results ?!

    3) what is the application used to call the...

  • RE: Stored Procedure

    raj - this is all you have to do...

    SELECT @Lesson = (store the result into a variable)
    
    CASE
    
    WHEN @param = Code_1 THEN Lesson_1
    
    WHEN @param = Code_2 THEN Lesson_2
    
    WHEN @param =...

Viewing 15 posts - 541 through 555 (of 2,469 total)