SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


datatype to store only date in SSIS


datatype to store only date in SSIS

Author
Message
sql_learner29
sql_learner29
Right there with Babe
Right there with Babe (745 reputation)Right there with Babe (745 reputation)Right there with Babe (745 reputation)Right there with Babe (745 reputation)Right there with Babe (745 reputation)Right there with Babe (745 reputation)Right there with Babe (745 reputation)Right there with Babe (745 reputation)

Group: General Forum Members
Points: 745 Visits: 922
Hi all,

Is there any date datatype in SSIS, that will only store date part of a datetime column, I dont want to use convert i just want date datatype...
Is there any in SQL server...that i can use while creating table..????????

Thanks


---------------------------------------------------

Thanks

nhapzz
nhapzz
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 25
what about cast(datecolumn as date) ?
Thom A
Thom A
SSCertifiable
SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)

Group: General Forum Members
Points: 6214 Visits: 5893
nhapzz - Monday, February 6, 2017 10:31 AM
what about cast(datecolumn as date) ?

OP has Posted in the SQL Server 2005 forum. The Datatype DATE wasn't introduced until SQL Server 2008. There is no date (only) data type in SQL server 2005, unless I recall incorrectly.




Thom~

Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does :-P

There are 10 types of people in the world. Those that understand Binary, and those that don't.

Please always remember to encapsulate your code in IFCode Markup. For example [code="sql"] [/code].

Click here to read Jeff's Guide on how to post SQL questions, and get swift and helpful answers from the community
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search