28.10.2006, 16:40 | #1 |
Участник
|
Fred Shen: Convert Axapta date type value to datetime type value in SQL Server
Источник: http://fredshen.spaces.live.com/Blog...E4E3!171.entry
============== It is known that, in Axapta, date data type only contains values of day, month and year whereas in SQL Server, datetime data type contains values of second, minutes and hour as well. So if you want to retrieve values from SQL Server using ODBCConnection, and you need to specify the condition on some date type comlumn, how can you get it done? Here comes the code to show you how to convert Axapta’s date data type value to datetime value. It is an example to get a voucher value from LedgerTrans table in a given date. static void TestDateTimeConversion(Args _args)Hope it helps. ============== Источник: http://fredshen.spaces.live.com/Blog...E4E3!171.entry |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|