Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: TIMESTAMP/DATE Format & INSERT: msg#00260

db.maxdb

Subject: RE: TIMESTAMP/DATE Format & INSERT

You are better off just changing your format to meet their's. I have
struggled long and hard with their dates functionality (or lack thereof) and
it isn't worth your time.

-----Original Message-----
From: Andreas Goldstein [mailto:accountistnurzumleerengedacht@xxxxxx]
Sent: Thursday, March 31, 2005 4:45 PM
To: maxdb@xxxxxxxxxxxxxxx
Subject: TIMESTAMP/DATE Format & INSERT


I am porting a database from Access to MaxDB. From the Access-DB I have made
a SQL-Dump that contains about 800 dates with a date in it. The date-format
in the dump-fil is "DD.MM.YYYY HH:MM:SS".

I am now trying to insert these lines into the MaxDB-DB by using the
SQL-Studio.

For example the following codes demonstrates what I am trying to do:
CREATE TABLE aaa (
id FIXED(10) DEFAULT SERIAL,
sent TIMESTAMP,
PRIMARY KEY (id))
//
INSERT INTO aaa (sent) VALUES ('31.03.2005 13:35:21')
...


Unfourtunately this does not work. I think that one point is a wrong
date-format that should YYYY-MM-DD because of the ISO-mode. From the manual
I do not understand, where I can change the ISO-mode to an other that meets
my requirements.


I would be happy if anyone can help me - thanks!

--
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:
http://lists.mysql.com/maxdb?unsub=kevin.wilson@xxxxxxxxxxx

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo