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...

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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