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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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