BookmarkSubscribeRSS Feed
shiv999
Calcite | Level 5
Hello SAS ppl
I am trying append the data in sql server using sas.
I was using below libname passthrough for appending the data. But while appending all the blank columns are converting into NULL in sqlserver.

I see we can use NULLChar = SAS|YES |NO
But I am not able to get them properly can some one please help.

How I can use this NULLCHAR ?


Libanme sqlserver ODBC DSN =XXXXX SCHEMA =XXXXX UID=XXXX PWD=XXXX IGNORE_Read-only_column= YES INSTERBUFF= 10000;

PROC APPEND BASE = sqlserver.table_want data=inputdata ;
Run
1 REPLY 1
JosvanderVelden
SAS Super FREQ
Does the answer:
SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Fifth Edition (nullchar=no)
from @jakarman help?
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=acreldb&docsetTarget=n1hm...

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 401 views
  • 0 likes
  • 2 in conversation