Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ORA-01756: quoted string not properly terminated
#2
Solved: 11 Years, 3 Months, 2 Weeks ago
I observed that you have an extra single quote (') at the end, what is that for? i think this is causing the issue.
what is the type of field 'h_id'? if its numeric then do not add single quote in your query while passing values.
or if this is varchar then use variable in single quote single quote

Your query should be like
Code:
sql = "SELECT rev_id FROM bh INNER JOIN clue ON bh.clue_id = clue.clue_id WHERE h_id = " & valueHID
or
Code:
sql = "SELECT rev_id FROM bh INNER JOIN clue ON bh.clue_id = clue.clue_id WHERE h_id = '" & valueHID & "'"

Reply


Messages In This Thread
RE: ORA-01756: quoted string not properly terminated - by Saket - 08-26-2009, 10:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VUser terminated akilamurugesh 0 2,381 08-13-2014, 11:21 AM
Last Post: akilamurugesh
  WPF DataGrid is not recognizing properly suvenduitc@gmail.com 0 3,268 02-13-2014, 03:27 PM
Last Post: suvenduitc@gmail.com
  ORA-06413: Connection not open soumen 1 3,822 12-13-2013, 11:17 AM
Last Post: soumen
  Replace a string in a word document with another string rekha.naik 8 15,452 11-14-2013, 12:58 PM
Last Post: pranikgarg
  QTP 10IS NOT WORKING PROPERLY AFTER INSTALLING THE PATCH IN WINDOW 7 raka54 1 2,664 09-29-2013, 12:10 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)