infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Tcl Library
Getting error with SQL insert command
System
Originally posted by Tom Gilbert
I am getting the following errors when running the following script.
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Chris Williams
Just guessing, but it looks like you are trying to use the individual words of a diagnostic message "12 microseconds per iteration" in your INSERT rather than the appropriate { } pairs.
System
Originally posted by Tom Gilbert
Hello Chris, I am not sure what you mean... Please explain.
System
Originally posted by Chris Williams
Tom,
After a closer look at your code, your proc is not returning an appropriate $dispList value. When you call a tcl proc, if you do not specify a return value it will return the value that was returned by the last tcl statement in the proc. It appears that the last tcl statement executed inside the proc returned the string "12 microseconds per iteration" which just doesn't work as a $dispList value.
You can't just comment out pieces of your code without understanding the ramifications. Also in switch statements you cannot place the comment characters where you have them, e.g., "#shutdown", "#default". Get the braces back where they belong, remove those inappropriate "#" characters and give it another try.