Sorry folks, I should have said….the field it can’t find is the first parameter, the numeric one where I pass it the 123456 value.
Just to make sure it is not the call statement, try the following and check whether you still get the same error:
1. Add a blank after the first parameter (or all parameters).
The comma might be interpreted as decimal separator, at least if you use the European notation.
You may get some trouble with numeric values, because 7,2 is not interpreted as 2 parameters but as a single one)
2. Try to explicitly cast the number into the expected data type --> CAST(123456 as Numeric(6))
Digits without decimal separator are (often) interpreted as Integer.
Even though overloading of stored procedures only depends on the number of parameters (and not the data types - this is only valid for User Defined Functions)
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them and keeping them!"
„Train people well enough so they can leave, treat them well enough so they don't want to.“ (Richard Branson)
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill Howie
Sent: Mittwoch, 31. Mai 2017 19:42
To: midrange-l@xxxxxxxxxxxx
Subject: SQL0206 error
Sorry folks, I should have said….the field it can’t find is the first parameter, the numeric one where I pass it the 123456 value.
Bill Howie
Business Systems Analyst II
Amtrust North America
800 Superior Avenue E., 9th Floor
Cleveland, Ohio 44114
216.328.6145 office
william.howie@xxxxxxxxxxxxxxxx
www.amtrustgroup.com
AOMobile - AmTrust Financial Services, Inc. Download on the App Store℠<
https://itunes.apple.com/us/app/aomobile/id626262396?mt=8&uo=4> | Get it on Google Play™<
https://play.google.com/store/apps/details?id=com.amtrust.aomobile>
- Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc.
- Android is a trademark of Google Inc.
________________________________
Confidentiality Notice: This email message is intended only for the individual or entity to which it is addressed. This email may contain information that is proprietary or privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you received this email by accident, please notify the sender immediately and destroy this email and all copies of it.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.