Hi,
I am trying to create a data window in PowerBuilder 2017 R3. I am following the below steps.
New->data window->rich text->stored procedure
After selecting the stored procedure then I am getting the below error as shown in screenshot though we specified correct datatypes. If I am trying to give manually by clicking manual result set options then I am getting error as invalid column name. Why this errors if we are giving correct data types as per backend(stored procedure). Please advise.
Version:Microsoft SQL Server 2014 (SP3-CU1) (KB4470220) - 12.0.6205.1 (X64) Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.3 (Build 9600:(Hypervisor)(SQL server management studio)
DB profile settings: ODB ODBC (we used)
Database connection syntax in DB profile ODB ODBC:// Profile CIRS_DEV
SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = False
SQLCA.DBParm = "ConnectString='DSN=CIRS_DEV1;UID=tbsivani;PWD='"
Stored procedure: exec Stored_proc name 'date' in SQL
eg: exec asp_getl_test '01/06/2019'(Date is the only parameter we are passing while executing and data type is datetime). Please advise
Thanks