Results 1 to 2 of 2
  1. #1
    sportz.90 is offline Member
    Join Date
    May 2012
    Posts
    1
    Rep Power
    0

    Default Passing TimeStamp as a parameter in Callable Statement

    Hi,

    I have a database table which has a timestamp column and i want to operate on it by sending a timestamp value as a parameter through my callable statement. but when i am declaring a datetime value through date , timestamp and dateformat, the code is not getting executed. what exactly is the way to pass a timestamp as a parameter in callable statement?

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,817
    Rep Power
    19

    Default Re: Passing TimeStamp as a parameter in Callable Statement

    Can you show us the code causing the problem, and say exactly what happens, including exceptions with stack traces (assuming you do printStackTrace() in your catch blocks).
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 7
    Last Post: 01-08-2012, 08:56 AM
  2. passing date into parameter
    By tike in forum New To Java
    Replies: 5
    Last Post: 12-08-2011, 05:30 PM
  3. Switch Statement/Parameter Passing
    By spmooney@hotmail.co.uk in forum NetBeans
    Replies: 1
    Last Post: 01-06-2010, 01:50 PM
  4. passing a parameter
    By aarthi2learn in forum AWT / Swing
    Replies: 4
    Last Post: 12-22-2008, 05:46 AM
  5. Sql string with callable statement..
    By nathan in forum JDBC
    Replies: 1
    Last Post: 09-24-2008, 01:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •