473,569 Members | 2,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cast in teradata sql

12 New Member
Hello,

Any suggestion in the way I used CAST in TERADATA SQL:

AND CAST (EXCEPTION_EVEN T_TS AS TIMESTAMP(0) FORMAT 'MM/DD/YYYY HH:MI:SS') = EXCEPTION_EVENT _TS
AND EXCEPTION_EVENT _TS BETWEEN '06/05/2009 00:00:00' AND '06/06/2009 00:00:00'


My error is Invalid Timestamp.

Thanks in Advance.

I was able to resolve my error..hehehe Thanks!
Sep 1 '09 #1
2 7841
RedSon
5,000 Recognized Expert Expert
if you resolved it, what was it? Thats pretty selfish posting to a forum with a question but then not posting what the fix was.
Sep 1 '09 #2
iceman23
12 New Member
1. Cast ( exception_event _ts date ) = date -1
2. Exception_event _ts between timestamp '06/05/2009 00:00:00' and timestamp '06/06/2009 00:00:00'
Oct 9 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2114
by: Paul Watson | last post by:
Is there a DB-API for Teradata? Is there any access to Teradata?
0
2028
by: mgnmsoft | last post by:
Looking for experienced Teradata DBA with experience in conversion from Oracle to Teradata. US. Citizens needed for this position. Client will apply for Top Secret clearance. Please email resume at kiran@mgnmsoft.com -- Posted via http://dbforums.com
1
6320
by: Michael L. | last post by:
hi everyone, It is relatively easy to translate RANK() from teradata to DB2, but I get to a glitch when I realize what Qualify RANK does. I know that there are a lot of experienced DB2 professionals out there, so I am hoping that someone may be able to give me a clue. Any suggestions on how to convert Qualify RANK from Teradata to DB2?
12
4643
by: jdokos | last post by:
Does anyone know of any good sources (white papers, etc.) regarding migrating from Teradata to DB2 UDB EEE? We are in the very beginning stages of investigating this as an option for some of the smaller projects that are going to Teradata presently. Thanks in advance for any and all information. Jeff
3
7980
by: nolanmadson | last post by:
I'm creating a front-end for some Teradata user maintenance tables in MS Access. I've started having problems in occasionally not being able to insert or update records in these tables. I've been able to create the Teradata tables, link to them via ODBC and then insert or update in MS Access. However, in subsequent sessions have not been able...
1
1722
by: terrordata | last post by:
Hey... i have a major doubt. is it possible to use an insert command in a loop while inserting data into a teradata table from java? if so can someone please give me the syntax?
0
2812
by: Akrishnamohan | last post by:
Subject:How to Run Action Queries in VBA-TERADATA?? Message: hi, Im trying in exceuting an action queris in Vba. Im able to connect to teradata. after connection,im imporitng through text pad the query that i wabt to run. the problem is the text pad consists of many action queris. the code im using is shown below.
4
5142
by: resmi318 | last post by:
I am running a query similar to given below. CREATE TABLE ABC_08 AS (SELECT x.col1, trim(x.col2), x.col3, x.col4, x.col5 FROM Table1 x
4
13991
by: KMEscherich | last post by:
Version of Access = 2003 Hi there, is there a way to capture data using TERADATA SQL Assistant and import a portion of this database table into a Microsoft Access database table??? I currently have Teradata SQL Assistant and write SQL to retrieve data from clarity tables. I would like to have a button on a Microsoft Access form that would...
0
7615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.