Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fibonaccii
  • Content: Threads
  • Order by date
  1. fibonaccii

    SQL2005 - DB2 Linked server: Openquery - Case Syntax

    I am able to run the statement below SELECT * from openquery (Linkedname,'Select RPDOC AS InvoiceNumber, RPPST AS InvoiceStatus, SUM(RPAG) AS GrossAmount FROM F03B11 GROUP BY RPPST, RPDOC') But When I use the CASE ststement to filter the data further I get an eror message. SELECT *...
  2. fibonaccii

    Using For Loop to attain single string from multiple rows

    Thank you all for being so responsive to my queries. I have another one. I am trying to use a for loop to attain a single string into a local variable from a multiple rows with same Roll_NO. Is there an easier way to extract the rows to the string. I have a layout of the Table XYZ as below...
  3. fibonaccii

    Extraction of Dynamic output to a local table

    I am looking for a way to assign a Dynamic Output queried from a select statement with multiple rows into a Local table. SELECT rownum, Amount, Due_date FROM TABLE.DBlink where ROLL_NO = 'xyz' and (extract(year from due_Date)) = EXTRACT(YEAR FROM sysdate) and SUBSTR(ORIGIN,1,3) in...
  4. fibonaccii

    Parsing a String (10g)

    I have come accross a roadblock. I need to parse a string that is passed to a variable. I need to parse two seperate strings from one string to be compared. The 1st string to be parsed can have either 6,7,or 8 characters in the initial part of the string. The second is always constant to '5-4'...
  5. fibonaccii

    Parsing a string

    I have come accross a roadblock. I need to parse a string that is passed to a variable. I need to parse two seperate strings from one string to be compared. The 1st string to be parsed can have either 6,7,or 8 characters in the initial part of the string. The second is always constant to '5-4'...

Part and Inventory Search

Back
Top