Solved

casting numeric value to date format

Posted on 2012-04-03
1
545 Views
Last Modified: 2013-11-11
I'm working on formatting the dates from a numeric value and I needed asistance.

Original value: 20120403
new value: 2012/04/03 (date Time)

How can I achieve this in my select statement
0
Comment
Question by:jorbroni
1 Comment
 
LVL 27

Accepted Solution

by:
tliotta earned 500 total points
ID: 37808881
I don't know specifics of Teradata, but converting numeric values to dates will depend a little on the flavor of SQL that runs the SELECT statement. Can you elaborate on the version of SQL that is involved?

It might be necessary to convert numeric to character, and then to a DATE data type. Or it might be more direct. It will depend on the functions available through your SQL engine.

Tom
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Note: You must have administrative privileges in order to configure lead or case queues. Salesforce.com (http://www.Salesforce.com) is a cloud-based customer relationship management (CRM) system. It is widely used around the world by sales and ma…
Messaging apps are amazing tools with the power to do a lot of good, but the truth is the process of collaborating with coworkers requires relationships established through meaningful communication - the kind of communication that only happens face-…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now