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

Explain about link server in sql server?

1001


Explain syntax for viewing, dropping and disabling triggers?

897


What is data source in connection string?

850


Tell me what is difference between clustered and non clustered index?

896


What are the steps to follow to configure SQL*Net?

992


What the different topologies in which replication can be configured?

1022


Data table as parameter in sql server?

974


Explain sub-query?

899


What is candidate key with example?

923


Detail about query optimizer?

1036


How can you check the version of sql server?

1047


In how many ways you can invoke ssrs reports?

132


Explain the dbcc pintable command when would you use it?

867


Explain Geography datatype in SQL Server

1060


What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas

964