Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19

Thread: Pass date parameter on SQl database to DB2 OpenQuery error

  1. #16
    Join Date
    Sep 2002
    Posts
    5,938
    Does above statement work when you execute it directly?
    Last edited by rmiao; 10-10-2010 at 12:02 PM.

  2. #17
    Join Date
    Oct 2010
    Posts
    10
    yes,
    But I'd like to pass the date parameter. Do you know to to do it?

  3. #18
    Join Date
    Sep 2002
    Posts
    5,938
    If all you posted are correct, it should work.

  4. #19
    Join Date
    Oct 2010
    Posts
    10
    İt works but i need to convert date to string. When İ passing as date parameters i am getting error. So, this my solution it works but i am looking for a solution to use date parameters other than converting them string.

Posting Permissions

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