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 strongm 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: *

  1. choongyin

    How to load 'tab' delimited flat file?

    Hi there, Does anyone knows how to load a 'tab' delimited flat file to db2 table? Thanks & rgds,
  2. choongyin

    Exporting Date in DDMMYYYY format

    Hi there, Does anyone knows how to do load a 'tab' delimited flat file into db2 table? Thanks & rgds
  3. choongyin

    Exporting Date in DDMMYYYY format

    Hi there, This is my test statement, which returning &quot;02022003&quot; as eg. export to C:\test.txt of del select case when day(thedate) < 10 then '0'||cast(day(thedate) as char(1)) else cast(day(thedate) as char(2)) end || case when month(thedate) < 10 then '0'||cast(month(thedate) as...
  4. choongyin

    Exporting Date in DDMMYYYY format

    Hi there, I tried to export a date into DDMMYYYY format. The date is exported into del format file. I'm able to extract the day, month, year and concatenate it to DDMMYYYY. But it is of string and the date exported to the file will be quoted with &quot;&quot; for eg. &quot;02022003&quot;. But I...
  5. choongyin

    How to decode the default '-' using select case

    Hi there, Thanks for the help. Yup, it is a null and not '-'. Thanks & rgds, Celine
  6. choongyin

    How to decode the default '-' using select case

    Hi there, By default, a column will be inserted a '-' by the DB2. Say, my table (TEST) data as below (both columns are CHAR): FNAME LNAME ----- ----- - lname1 where '-' automatically inserted by DB2 when I executed the insert statement: INSERT INTO TEST (LNAME) VALUES...

Part and Inventory Search

Back
Top