Hi,
I'm write a class to update data in a oracle database. I want to run multiple statements and from my understanding I can do that by just adding a semi-colon to the end of each statement.
But it appears that oracle also likes for there to be a carriage return following that semi-colon. So how do I add a carraige return to the sql string that I'm executing?
If I use /r or /n it just gets sent as part of the sql statement string and Oracle gives me an error. How do I append an actual carraige return?
Thanks in advance,
- VB Rookie
I'm write a class to update data in a oracle database. I want to run multiple statements and from my understanding I can do that by just adding a semi-colon to the end of each statement.
But it appears that oracle also likes for there to be a carriage return following that semi-colon. So how do I add a carraige return to the sql string that I'm executing?
If I use /r or /n it just gets sent as part of the sql statement string and Oracle gives me an error. How do I append an actual carraige return?
Thanks in advance,
- VB Rookie