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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by TeraMarv

  1. TeraMarv

    delimited file

    In your 'select' statement make every other column either a comma or a space:- Select col1 ,',' ,col2 ,',' ,col3 From Table ; If you need a delimited file with alined columns then cast each column as a character field. This will ensure that the column is always 'n'...
  2. TeraMarv

    convert date to character 'YYYYMM' with substring and extract function

    Try this:- select trim(extract(year from date))||trim(extract(month from date) (format '99'));
  3. TeraMarv

    sequence number using bteq

    I'm not sure if this is what you are refering to but you can create an incrementing column in Teradata SQL if you are running V2R3 or higher. This is possible using the CSUM function:- Select '1' as sequence ,CSUM(sequence,??column??) From Target_table group by 1 ; ??column?? can be...
  4. TeraMarv

    Teradata Utilities on Sun Solaris

    Does anyone know the minimum systems requirements that a Sun Solaris box needs to run the Teradata Utilities (BTEQ,FASTLOAD etc.)????
  5. TeraMarv

    Iterative querying - is this possible??

    If you are running your SQL under the BTEQ application on the client (be it MVS,Unix or whatever) you should be able to repeat the SQL script using the '.REPEAT n' command where 'n' is the number of times you wish to repeat (place this before the SQL statement). Alternatively you can end your...

Part and Inventory Search

Back
Top