473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ORA-00907-passing blank space inside a parenthisis pair

2
cant i pass a blank space inside a parenthisis? as in below script.. cos m gettin an error saying ORA-00907: missing right parenthesis
Customer_no = NVL(c2.related_customer,' ');
Mar 29 '08 #1
3 2145
amitpatel66
2,367 Expert 2GB
cant i pass a blank space inside a parenthisis? as in below script.. cos m gettin an error saying ORA-00907: missing right parenthesis
Customer_no = NVL(c2.related_customer,' ');
Yes you can. Can you post your whole set of code for reference?
Mar 29 '08 #2
ashmya
2
Expand|Select|Wrap|Line Numbers
  1. SELECT NVL(sum(open_cr_bal_lcy - open_dr_bal_lcy),0) INTO bal_nonlcy
  2. FROM  gltbs_cust_seg_gl_bal WHERE branch_code = pkg_Branch
  3. AND     gl_code = each_record.gl_code
  4. AND     ccy_Code <> global.lcy
  5. AND   fin_year = l_fin_year
  6. AND   period_code = l_period_code
  7. AND   customer_segment=gl_record.customer_segment
  8. AND   relationship_segment=gl_record.relationship_segment
  9. AND   NVL(copmany_code,'@')    =NVL(gl_record.company_code,'@') 
  10. AND   customer_no    =NVL(gl_record.customer_no,'  ');
Mar 31 '08 #3
amitpatel66
2,367 Expert 2GB
Expand|Select|Wrap|Line Numbers
  1. SELECT NVL(sum(open_cr_bal_lcy - open_dr_bal_lcy),0) INTO bal_nonlcy
  2. FROM  gltbs_cust_seg_gl_bal WHERE branch_code = pkg_Branch
  3. AND     gl_code = each_record.gl_code
  4. AND     ccy_Code <> global.lcy
  5. AND   fin_year = l_fin_year
  6. AND   period_code = l_period_code
  7. AND   customer_segment=gl_record.customer_segment
  8. AND   relationship_segment=gl_record.relationship_segment
  9. AND   NVL(copmany_code,'@')    =NVL(gl_record.company_code,'@') 
  10. AND   customer_no    =NVL(gl_record.customer_no,'  ');
The query looks fine. I think the error is in some other part of the code.
gl_record is a cursor is it? Can you please post your full source code for reference?
Mar 31 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Subrahmanyam Arya | last post by:
Dear oracle gurus, I am unable to get past the error ORA-12154: TNS: could not resolve service name on my host when using hsodbc to talk to a remote mysql database. i got from the meta link all...
6
by: John | last post by:
Hi Right password -> ORA-12154: TNS:Could not resolve service name wrong password => ORA-01017: invalid username/password; logon denied Tested on a Windows XP client connecting to Oracle on...
1
by: Park Yeon Jo | last post by:
About Error : ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor I installed Oracle 8.1.7 on Windows XP Professional. and I wanto connect to that server...
1
by: Adam Ruth | last post by:
I'm using OCI on Mac OS X and I've run into a strange problem with my TNSNAMES.ORA file. My TNSNAMES.ORA file has one entry INV4II and it works fine. However, it will only work if that is the...
6
by: bdj | last post by:
Hello! I have at set of tnsnames.ora. I wich to make an union, e.g. a single file of it. How can I do that easy? Greetings Bjørn
4
by: Tig | last post by:
Hi all. I have a need to connect to an Oracle 7.3.3.5 database. I have a user who successfully connects to it with her Oracle 7.3 client. I have an Oracle 9.2 client installed on my machine. ...
2
by: mpatel6 | last post by:
I had this error in alert log and my instance was down, anybody can help me? Errors in file /u01/app/oracle/admin/sotstest/bdump/sotstest_p004_626740.trc: ORA-07445: exception encountered: core...
5
by: mivey4 | last post by:
Hi, First off, I am aware that this is a very heavily documented error and I have done my homework for throughly researching probable causes before deciding to post my problem here. At this point,...
0
by: basmgokul | last post by:
I am using oracle 10g in windows vista.. when starting DB it throws an error Errors in file c:\database\udump\practice_ora_440.trc: ORA-00704: bootstrap process failure ORA-39700: database...
1
by: michael ngong | last post by:
michael.john@gmx.at (Michael John) wrote in message news:<90cc4edd.0306230900.28075193@posting.google.com>... MIchael I you stated the OS and platform that could make it easier to address your...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.