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

hi, may i know what is the command to get abstract the
current month, current year and current day from a given
date.i want these three in a isolated way..seperatedly is
that any way in sql server 2000

Answer Posted / aravazhi

select month(getdate()) Curr_Mon,Year(getdate())
Curr_Year,day(getdate()) as Curr_day

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of processing and explain each? : sql server analysis services, ssas

1159


What to perform pattern match with the like operator?

889


Can we write ddl in trigger?

924


Why I am getting "the microsoft .net framework 2.0 in not installed" message?

988


What are trace flags and mention a few common trace flags used with sql server?

1094


what is the Ticketing tool used in Wipro technologies at Bangalore...???

8159


Can truncate be rolled back?

953


Can we call stored procedure in view in sql server?

906


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

990


What is sql collation?

1220


Difference Between ORDER BY Clause and GROUP BY Clause in SQL?

1068


Any one plz send me SQL Server Developer/DBA resume for 4 years experience

2762


Why use view instead of a table?

957


Name 3 of the features that the sql server built-in function loginproperty performs on standard logins? : sql server security

1102


Do you know what is lock escalation?

1018