Date Function Usage
Posted in 2000
Topics: General Discussion
Dear all:
I have a sql syntax problem:
update transtemp set t_exdt= "1999/01/01" where year(t_exdt) < 1999
|| ||
Date Field How does "String Type"transform to "Date Type"?
Thank's for your help.
--
Frankie Ke
Colovos Machinery Corp
TEL:(04)4070810*203 FAX:(04)-4071129
Email:kehunchi@cm1.hinet.net
my environment variable DBDATE is DMY4
and I use the date string "24/01/2000"
Frankie <kehunchi@cm1.hinet.net> a 'crit dans le message :
8uobi7$3ic$1@news.is.net.tw...
> Dear all:
> I have a sql syntax problem:
>
> update transtemp set t_exdt= "1999/01/01" where year(t_exdt) < 1999
> || ||
> Date Field How does "String Type"> transform to "Date Type"?
>
> Thank's for your help.
>
> --
> Frankie Ke
> Colovos Machinery Corp
> TEL:(04)4070810*203 FAX:(04)-4071129
> Email:kehunchi@cm1.hinet.net
>
>
>
The user's environment variable DBDATE controls string to date
interpretation as well as date to string formatting.
Art S. Kagel
Frankie wrote:
>
> Dear all:
> I have a sql syntax problem:
>
> update transtemp set t_exdt= "1999/01/01" where year(t_exdt) < 1999
> || ||
> Date Field How does "String Type"> transform to "Date Type"?
>
> Thank's for your help.
>
> --
> Frankie Ke
> Colovos Machinery Corp
> TEL:(04)4070810*203 FAX:(04)-4071129
> Email:kehunchi@cm1.hinet.net