Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
|
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 12th, 2007, 06:35 PM
Registered User
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default hiii please help me out

there are 2 tables .
dbo.SIS_Data and dbo.Venkata.
the fields are
dbo.SIS_Data: dbo.Venkata
SID SID
Fname Fname
MI MI
Lastname Lastname
DOB (declared in datetime) DOB(declared in nvarchar(50))

I am working with sql server 2005.
I need to insert the values of dbo.Venkata into dbo.SIS_Data.
but dob has different data type.
we need to use the convert or cast function.the format of dob in dbo.Venkata is ddmmyyyy and we need to change the format to yyyymmdd in order to insert it into dbo.SIS_Data.

so please help me ot withe the query.






Similar Threads
Thread Thread Starter Forum Replies Last Post
hiii krantips C# 2005 0 May 30th, 2006 02:22 AM





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