Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can u convert this 25-jul-2010 from numeric to charcter?

Answers were Sorted based on User's Feedback



how can u convert this 25-jul-2010 from numeric to charcter?..

Answer / vigneshwaran.s

Read the date using informat date11. Then you can move this
Numeric SAS date to a Character variable. You can see in
the SAS Log that Numeric has been converted to Chanracter.

Option 2 : Is use a Put Function,

New_date = Put(Given_date,Format)

Is This Answer Correct ?    10 Yes 2 No

how can u convert this 25-jul-2010 from numeric to charcter?..

Answer / ram

data new;
date=put( '25-jul-2010'd,date9.);
run;

Is This Answer Correct ?    5 Yes 0 No

how can u convert this 25-jul-2010 from numeric to charcter?..

Answer / madhu

put(Variablename,date11.)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SAS Interview Questions

what is the difference between floor and ceil functions in sas? : Sas-administrator

0 Answers  


How do you add a number to a macro variable?

3 Answers  


How would you create multiple observations from a single observation?

1 Answers   Quintiles,


What is the command used to find missing values?

0 Answers  


what is sas data set?

0 Answers  


Approximately what date is represented by SAS date value of 730

9 Answers  


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

0 Answers  


Give e an example of..

0 Answers  


How would you combine 3 or more tables with different structures?

7 Answers  


What is shift table? have you ever created shift that?

2 Answers   Accenture, Clinical Research, Quintiles,


If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?

6 Answers  


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

0 Answers  


Categories