` Clarion dates to SQL (Mark Mcbreen) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

SQL Related Articles: Clarion dates to SQL
2002-07-06 -- Mark Mcbreen
 
Newsgroups: softvelocity.products.c55ee In your dictionary make sure you have the SQL date defined correctly & that should work OK. e.g. for MSSQL something like this MySQLDateTimeField STRING(8) !This corresponds to MSSQL datetime MyGroup GROUP,OVER(MySQLDateTimeField) SQLFileDateField DATE SQLFileTimeField TIME END MyGroup.SQLFileDateField = TPSFile:DateField MyGroup.SQLFileTimeField = 0 PROP:SQL = 'INSERT MYTable (MySqlDateTime) VALUES(' & MySQLDateTimeField & ')' Regards "Suntower Systems" wrote in message news:3d25d919@news.softvelocity.com... > Converting a large app with LOTS of TPS dates (LONGs). Can someone provide > some guidance on how to convert these into SQL date fields? > > Can the TPS ---> SQL conversion program simply assign the data in TPS format > to the new SQL date field as below? > > SQLFile:DateField = TPSFile:DateField > PUT(SQLFile) > > ---Thanks, > > ---JC > >


Today is April 25, 2024, 3:17 pm
This article has been viewed 35117 times.
Google search has resulted in 54 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: