|
|
Choosing A Webhost: |
Re: SQL error -3050 = Invalid timestamp format:INTERNAL: msg#00180db.maxdb
Thanks a lot Steffen the solution 2 was perfect for my problem El Tuesday 26 October 2004 08:58, Schildberg, Steffen escribió: > Hi Jesus, > > Jesus Barreto [mailto:jbarreto@xxxxxxxxxx] wrote: > > I have a problem when run REPMCLI with file that content > > insert statement, the > > problem is timestamp field that don't accept timestamp format ISO > > > > in database I get a table like this > > > > XXX_TABLE(TABLEID INTEGER , TIMESTAMP_FIELD TIMESTAMP) > > > > the file content is: > > INSERT INTO XXX_TABLE(TABLEID, TIMESTAMP_FIELD) values(100, > > '2004-03-06 > > 00:29:25.000000') > > // > > . > > . > > . > > when i execute this: > > repmcli -u user,password -d database_name -n localhost -b fileName > > > > i get the next error: > > > > Error during execution > > -->-25010 > > SQL error -3050 = Invalid timestamp format:INTERNAL (error > > position: 248[line: 1, col: 248]) > > > > I try to set TIMESTANP to ISO, with > > SET TIMESTAMP ISO > > // > > but I get the same error > > With 'SET TIMESTAMP ISO' you set the format for Loader commands not for > simple SQL commands executed with the Loader. > The solution depends on the version of the Loader you use. > 1. Solution that works with every version > Replace the ISO timestamp values in your SQL commands with INTERNAL > timestamp values. This is surely not what you'd like to do, I know :-) > > 2. Solution that works starting with Loader version 7.5.00.15 > Execute the command 'SET FORMAT ISO'. This changes the format for time > and date and timestamp values in SQL commands executed with the Loader > to the one required. > > HTH. > Regards, > Steffen > -- > Steffen Schildberg > SAP DB Team > SAP Labs Berlin -- 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> |
|---|---|---|
| Previous by Date: | Store strings in UTF-8/UNICODE format, Hermann Himmelbauer |
|---|---|
| Next by Date: | AW: Store strings in UTF-8/UNICODE format, Zabach, Elke |
| Previous by Thread: | RE: SQL error -3050 = Invalid timestamp format:INTERNAL, Schildberg, Steffen |
| Next by Thread: | Running MaxDB on Windows as different User?, Christian Ullrich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home
| advertise | OSDir is
an inevitable website.
|