Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Posts
    31

    Unanswered: Scripting field conversion from nvarchar to datetime

    What is the correct syntax to convert a field from nvarchar to datetime?

  2. #2
    Join Date
    Apr 2004
    Posts
    5

    Re: Scripting field conversion from nvarchar to datetime

    Originally posted by josephjthomas
    What is the correct syntax to convert a field from nvarchar to datetime?
    convert(datetime,'fieldname',103)

  3. #3
    Join Date
    Apr 2004
    Posts
    31

    Re: Scripting field conversion from nvarchar to datetime

    Originally posted by bunmiA
    convert(datetime,'fieldname',103)
    Will that convert nvarchar(50) to datetime (10/01/2004)?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •