LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 28 Dec 2006 12:25:52 +0100
Reply-To:   Stéphane COLAS <scolas@DATAMETRIC.FR>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Stéphane COLAS <scolas@DATAMETRIC.FR>
Subject:   Re: Create DATASET from Stored Procedure on SQL server
Comments:   To: Raj <ramesh.chakri@GMAIL.COM>
In-Reply-To:   <1167244068.287323.187720@48g2000cwx.googlegroups.com>
Content-Type:   text/plain; charset=ISO-8859-1

You have to know the DATE format waited by SQLserver.

Does the Accountid passes as you do without the doubles quotes ?

Stéphane.

Selon Raj <ramesh.chakri@GMAIL.COM>:

> how do u pass dates to a stored procedure? > say with the following macro variables, I believe the dataofbirth > stored just as text. If the stored procedure expects a date how to pass > it? > > %let dateofbirth = 01Jan1968; > %let AccountID = 333; > > create table debug1.sas_personInfo as select * > from connection to oledb > ( dbo.GetpersonInfo &dateofbirth &accountid ); > > The above code doesnt work.!! > > > thanks, > Ram >


Back to: Top of message | Previous page | Main SAS-L page