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

Write SQL queries on Self Join and Inner Join.

1216


Tell me can we use custom code in ssrs?

1054


How global temporary tables are represented and its scope?

1015


List some advantages and disadvantages of stored procedure?

1063


Who developed sql server?

982


What is a transact-sql statement?

1129


What does indexation mean?

1030


Differentiate between a having clause and a where clause.

1010


What do you understand by integration services in sql server?

1001


How do you send email on SQL Server?

1117


What is stretch database in sql server?

1120


What is Lock table in SQL?

1521


How to create a dml trigger using create trigger statements?

1084


How to create an identity column?

1301


Where is my database stored on the hard disk in ms sql server?

1111