Oracle 10g - Escape quote in insert statement?

Oracle uses standard SQL: INSERT INTO height(id, height) VALUES(height-seq. Nexval, '5''9'); (Yes there are two single quotes).

– Robert Merkwürdigeliebe Mar 17 at 8:16 @Robert Merkwürdigeliebe: no definitely not a threat. It seems to have been oracleNewb's first question. I just wanted to make sure he knows the rules if he/she intends to post more questions.

Sorry if it sounded rude or like a threat. – a_horse_with_no_name Mar 17 at 8:30.

If you are doing this from a front end using some programming language, consider using a parametrized query, if you are in psql or some other tool to do this, just use '5''9 ' and it will work fine.

Blogspot no no front end yet, just populating my db with some data through SQL developer. But thanks I will def use parametrized queries later down the line. – oracleNewb Mar 16 at 13:52.

I hate double quoting, it's a mess. Luckely these days we have the quote operator: q'{delimiter}string{delimiter}' INSERT INTO height(id, height) VALUES(height-seq. Nexval, q'#5'9#').

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions