SQL Server Forums
Profile | Register | 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
 New Topic  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
17638 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
52317 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  
 New 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.12 seconds. Powered By: Snitz Forums 2000