on 08-09-2007 6:10 AM
Hi,
Iam using jdbc adapter on receiver side to insert values into the database table.In the table there is a field with date format.In my mapping i want to populate this field with the system date so that when I run the scenario,this field has to be inserted with system date at the time of running.
Can anybody please tell me how i have to map that field.
Thanks & Regards,
Radhika
Hi,
You can get the current date from standard date functions in mapping.
Date-> currentDate is the function.
Regards,
Sakthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi radhika,
there are various date functions in mapping...
You can use the current date f(n)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ya Radhika,
The currentDate function under Date functions shud do it...
Also the problem wid d above is dat it'll take the XI server's time and not of your SQL server's time..
If you have a scenario where there cud be a time zone diff between ur XI server location and SQL server locn... Just in case
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.