CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 MS SQL Text and Date

Print topic Send  topic

Author Message
David Litot
Posted: 08/19/2002, 2:37 PM

I'm trying to use JSP and MSQ SQL Server using Jdbc:Odbc. I'm getting 2 types of problems:
- the VARCHAR columns cannot be used in joins unless I change for like
- I found no way to input dates, i'm getting a parsing exception

any hint ?
Sanddy
Posted: 08/19/2002, 10:33 PM

I haven't worked a lot with JSP, so I might be wrong!

But I do have a tip, when you create a Connection in CCS (i.e. if you are using CCS) then you can set the Data Base type over there, always remember to select MS SQL Server there, so that CCS can generate the relevant code specific to your data base server.
David Litot
Posted: 08/20/2002, 12:59 AM

THanks for your help. I found a solution to sort the text problem. I downloaded the SQL Server JDBC Driver from MS and it works fine. On top it also supports Unicode datatypes.
For the date problem I solved by setting the format to Short Date and no settings for the DB Format (this to be done for every date field on a form)

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.