Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 7th, 2005, 10:50 AM
Friend of Wrox
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default Syntax error converting datetime from character st

update ScheduleTable set
 ScheduleStop='15-feb-2005 19:36:00'
,Status='active' where scheduleid=100

Here column name "ScheduleStop" is Varchar(50)
But I am getting the error
"Syntax error converting datetime from character string"

Actually i want to store the same data in varchar field.
How can i do ,i have tried CAST,Convert too.
Looking for help :)
Thanks in Advance

Cheers :)

Cheers :)

Reply With Quote
  #2 (permalink)  
Old February 8th, 2005, 05:23 AM
Authorized User
Join Date: Jan 2005
Location: Delhi, Delhi, India.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts

u would not use any type casting function (CAST or convert), as this is automatically converted to varchar.

But for testing u can run this T-Sql in query analyzer, If this is running perfectly ok, then u have to check ur code. Let us know if problem presists.

Declare @ScheduleStop as varchar(50)

set @ScheduleStop='15-feb-2005 19:36:00'

select @ScheduleStop

Amit Jain
Sr. Software Engineer
Reply With Quote
  #3 (permalink)  
Old September 10th, 2010, 10:11 AM
Registered User
Join Date: Sep 2010
Location: ga
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ST String dll

a few days ago i had to restart my computer and the first thing it tells me is that
ST String dll can not be found and then it begins to search for it and then it tells me it needs to be downloaded from a disc that came with my computer lol lol really please i am a 59 year old grand mother and well i guess you might call me computer illiterate. can someone please send me a link to download this dll?
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Syntax error converting the varchar value... Earl Hickey ASP.NET 2.0 Basics 5 January 23rd, 2008 10:25 PM
Converting datetime to milliseconds since.. ravishakya SQL Server 2000 1 September 11th, 2006 07:47 AM
Syntax error converting datetime from character st kkrish SQL Server 2000 11 September 6th, 2006 06:46 AM
Syntax error converting datetime from character st Uppa SQL Server 2000 2 February 8th, 2005 08:01 PM
Error converting data type nvarchar to datetime. Andreas ADO.NET 2 August 18th, 2004 03:03 AM

All times are GMT -4. The time now is 07:29 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.