Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 How to Ordered month wise
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shinelawrence
Starting Member

India
32 Posts

Posted - 02/06/2013 :  00:10:15  Show Profile  Reply with Quote
Hi Everyone,
I have one table, In my table column i have all months. When i get the table the months are not ordered.... I tried but some conversion error thrown...My fields are all varchar datatype...
I got this error only:
Conversion failed when converting date and/or time from character string.

How to do...Please tell the solution...

Thanks In Advanced

Lawce

khtan
In (Som, Ni, Yak)

Singapore
17689 Posts

Posted - 02/06/2013 :  00:13:57  Show Profile  Reply with Quote
how does your data looks like ?


KH
Time is always against us

Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 02/06/2013 :  00:17:46  Show Profile  Reply with Quote
do you've a date field?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000