User Profile

Collapse

Profile Sidebar

Collapse
abdev
abdev
Last Activity: Sep 26 '08, 10:27 AM
Joined: Jul 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • abdev
    started a topic Prepare Statement in DB2
    in DB2

    Prepare Statement in DB2

    Hi All,

    can i use user defined function in prepare statement?

    I am trying following,

    sprintf(c_stmt, "INSERT/*+ APPEND */ INTO %s VALUES(?,CHAR_T O_DATE(?,'DD-MON-YYYY')) WITH UR",V_TABLE_NAM E);

    EXEC SQL PREPARE ins_stmt FROM :c_stmt;

    Error Code: 440 is encountred.

    Thanks,
    Abhi
    See more | Go to post

  • abdev
    started a topic Reading file
    in C

    Reading file

    Hi,
    I am new to C/C++.
    i need a program to read file.
    i have to read fixed length and store in variable which will be used for further processing.
    There is no delimiter character. I have to read fixed length and variable are of different types.
    But line length is fixed.

    For example below is line in file,
    102abcd1234zxcv

    And have to reach above as,
    int1:102
    char1:abcd...
    See more | Go to post
No activity results to display
Show More
Working...