I have a Azure synapse SQL Pool where I have to insert data using SAS
libname bet sqlsvr datasrc="BET" user=datanalitica password="XXXXXX" schema="BET" USE_ODBC_CL=YES insertbuff=30000
insert_sql=yes autocommit=yes stringdates=yes
;
I successfully connect to the database, but when I try to insert data using proc append
proc append base=bet.DIM_RAMO_FINANZAS () data=W_DIM_RAMO_FINANZAS nowarn ;
run;
It only inserts the first record of the dataset even though in log proc append shows that added all records
SQLSRV_4: Prepared: on connection 2
INSERT INTO "BET"."DIM_RAMO_FINANZAS"
("RAMO_FINANZAS_CD","FILIAL_GRUPO_SK","RAMO_FINANZAS_NM","RAMO_FINANZAS_DESC","TIPO_RAMO_CD","ORDEN_RAMO_ID","PROCESSED_DTTM")
VALUES ( ? , ? , ? , ? , ? , ? , ? )
NOTE: There were 23 observations read from the data set WORK.W_DIM_RAMO_FINANZAS.
NOTE: 23 observations added.
NOTE: The data set BET.DIM_RAMO_FINANZAS has . observations and 7 variables.
SQLSRV_5: Executed: on connection 2
Prepared statement SQLSRV_4
Summary Statistics for SQLSVR are:
Total SQL execution seconds were: 0.140779
3 The SAS System 14:22 Thursday, September 1, 2022
Total SQL prepare seconds were: 0.000061
Total SQL describe seconds were: 0.049702
Total seconds used by the SQLSVR ACCESS engine were 0.281108
I have SAS 9.4 M6
... View more