As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
INSERT INTO table1 (A, B) VALUES( ?ValueA, ?ValueB )
Code the statement as:
INSERT INTO table1 (A, B) VALUES(‘?ValueA’, ‘?ValueB’)
…making the single quotes part of the statement prior to parameter substitution. This approach should always work because the type (char vs. numeric.) is a known, fixed attribute of each target column. Obviously the single quotes should be omitted around parameters which do not need to be quoted at execution (those inserted into numeric columns).
But, if I have a numeric variable that I want to store in a numeric field and I put quote marks around it I get the following error message:
FOC1414) EXECUTE IMMEDIATE ERROR.(FOC1400) SQLCODE IS 8114 (HEX: 00001FB2) XOPEN: 22018: Microsoft OLE DB Provider for SQL Server: [22018] Error converting data: type varchar to numeric.
If I leaave the quote marks out, I get this error messaage:
: Microsoft OLE DB Provider for SQL Server: [42000] The name "SRS_CRTFC_PC: " is not permitted in this context. Valid expressions are constants, con: stant expressions, and (in some contexts) variables. Column names are no: t permitted.