|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi all together,
i have a table with a DateTime field. Is it possible to write this field via SQL Statement. Each time i try it i get an Type mismatch! UPDATE "User" SET Lastlogin=335.584 WHERE Name='LoginName' If i try other fields in the "Loginname" rows everything works fine. i would be glad if someone would throw me some lines. Regard from the lake constance, germany! Carsten |
|
#2
|
|||
|
|||
|
Please try following query:
UPDATE "User" SET Lastlogin=TIMESTAMP '2009-02-03 04:05:06' WHERE Name='LoginName' Regards, Alex Carsten Groh wrote: > Hi all together, > > i have a table with a DateTime field. Is it possible to write this > field via SQL Statement. Each time i try it i get an Type mismatch! > > UPDATE "User" SET Lastlogin=335.584 WHERE Name='LoginName' > > If i try other fields in the "Loginname" rows everything works fine. > > i would be glad if someone would throw me some lines. > > Regard from the lake constance, germany! > > Carsten |
|
#3
|
|||
|
|||
|
Hi Alex,
> UPDATE "User" SET Lastlogin=TIMESTAMP '2009-02-03 04:05:06' WHERE > Name='LoginName' Works perfect - as always after your hints! Thanks a lot! Regard from the lake constance, Germany! Carsten |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I define a not null Charater (NullString) Field | Matthew Balraj | nexusdb.public.support.adoprovider | 1 | 12th February 2010 03:05 AM |
| Updating a value of a byte array field | sid25 | nexusdb.public.support.odbc | 1 | 25th October 2009 06:28 PM |
| DateTime without seconsds | Milan | nexusdb.public.support.adoprovider | 5 | 16th May 2007 06:55 PM |
| Selecting on Date Field Problem | AJ | nexusdb.public.support.odbc | 2 | 24th March 2007 09:12 AM |
| Seconds are not being returned in DateTime fields | Michael Duncan | nexusdb.public.support.adoprovider | 1 | 12th August 2004 05:18 AM |