I am new to writing SQL code not sure why I am getting this error ORA-01008: not all variables bound. If someone can look at my SQL code below and let me know what part of the code is incorrect I would really appreciate it.
SELECT O142261.HOLD, O142261.HOLD_AM OUNT, O142261.HOLD_DE SC, O142261.HOLD_EX PLANATION, O142261.HOLD_FR OM_DATE, O142261.HOLD_OR IGINATING_OFFIC E_DESC, O142261.HOLD_TO _DATE, O219017.SPRIDEN _ID, O219017.SPRIDEN _LAST_NAME, O219017.SPRIDEN _FIRST_NAME, SYSDATE
FROM BANINST1.AS_HOL D O142261, SATURN.SPRIDEN O219017
WHERE ( ( O219017.SPRIDEN _PIDM = O142261.PERSON_ UID ) ) AND ( O219017.SPRIDEN _CHANGE_IND IS NULL ) AND ( O219017.SPRIDEN _ENTITY_IND = 'P' ) AND ( O142261.HOLD = :"Type of Hold" ) AND ( O142261.HOLD_TO _DATE > :"Hold to Date" )
ORDER BY O219017.SPRIDEN _LAST_NAME ASC, O219017.SPRIDEN _FIRST_NAME ASC
;
4 3064 ck9663 2,878
Recognized Expert Specialist
What does those ":" mean? If that means not equal, use != or <> instead.
Good Luck!!!
~~ CK
gpl 152
New Member
From googling, this line is your problem
( O142261.HOLD = :"Type of Hold" ) AND ( O142261.HOLD_TO _DATE > :"Hold to Date" )
prefixing a variable with : is a 'substitution variable', which needs defining.
If you post in the Oracle forum, you are likely to get more help
Yes, it means not equal. I will try the code you recommended.
Thanks,
Diane
Thanks for your help. If the code does not work I will post in the Oracle forum. Appreciate your help.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Rod |
last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some
reason, opening some ASP.NET applications we wrote is producing the
following error message:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://localhost/WebApplication1'. 'HTTP/1.1 500...
|
by: Jeff |
last post by:
I am testing my ASP page and when I click on the link to open up my new asp
page I get "page cannot be displayed". When another person clicks on the she
gets a descriptive error message about a Type Mismatch on a COM function call
in whih I am passing a parameter. I see that I do have an error, but why am
I NOT getting the same message the...
|
by: daniel_xi |
last post by:
Hi all,
I am getting this error message when I try to open a project in Visual
Studio .NET 2003. Now, this is happening only for one of my projects, the
rest are fine. This particular project is based on ASP.NET and has Web forms.
The files for this project reside remotely on a Windows 2000 Server machine
with IIS 6.0, .NET framework 1.1...
|
by: smita81 |
last post by:
Hi,
I have a problem while trying to login to toad.
My operating system is WINDOWS XP.
I have Oracle 9i at my system. I installed the Toad into the system.When I start the Toad "Toad Server Login Version 7.5.2.0" pop up opens.
It asks to enter : Database or(user @database)
User/Schema :
...
|
by: sesling |
last post by:
Our Database stores event messages in a table called eventnotifications. The table has a message type column. There are two types of messages (alert or info). I have created a form that includes a list box. The list box contains the following (alert, info, both). The ID for each value is hidden from the operator. alert has an ID of 1, info...
| |
by: jonny |
last post by:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing
resource...
|
by: Sami Vaisanen |
last post by:
Hello group,
I'm writing a C++ based application that embeds the python engine. Now I
have a problem regarding exception/error information. Is there a way to
get the exception message and possibly the traceback into a string for
example? I've been eyeballing the PyErr_ module and it seems fairly
limited. In other words PyErr_Print() calls...
|
by: rajkumarbathula |
last post by:
Hi
I am creating a usercontrol in .net and using that as webpart in sharepoint site. i want to make use of ajax in my user control. and hence i added scriptmanager, updatepannel and update progress controls on to my ascx page.
on output of the page, i am getting the error message as ......"Script controls may not be registered before...
|
by: Anthony97 |
last post by:
I get the following error message
Run-time error '2455' you entered invalid reference to the property FileSearch
'***************************************************************************************
Set fs = Application.FileSearch
With fs
' Set search directory and file type to search for
.LookIn = strFileLocation
...
|
by: Vishvesh Pai |
last post by:
File "C:\Python24\Excelread.py", line 6, in -toplevel-
excel = Dispatch("Excel.Application")
File "C:\Python24\Lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |