How to set variable to NOT NULL using RODBC package
0
0
Entering edit mode
Qian Liu ▴ 110
@qian-liu-4216
Last seen 9.7 years ago
Hi there, I am trying to import the data to sql server. I want to set the "Marker ID" and "Pheno ID" NULLABLE=FALSE, but "P value" NULLABLE=TRUE How should I add it to the sqlsave function? sqlSave(ch,newdata,tablename=newdata_name, varTypes=list("Marker ID"="int", "Pheno ID"="smallint", "P value"="float"), rownames = F, addPK = F) Thanks, Qian [[alternative HTML version deleted]]
• 736 views
ADD COMMENT

Login before adding your answer.

Traffic: 510 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6