<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Truncated varchar values in jisql"]]></title>
		<link>http://forums.hotjoe.com/posts/list/28.page</link>
		<description><![CDATA[Latest messages posted in the topic "Truncated varchar values in jisql"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Truncated varchar values in jisql</title>
				<description><![CDATA[ Hi! I'm using jisql on the command line to connect to a MS SQL Server, and all of my varchar values are truncated to 24 characters. I'm using Microsoft's JDBC driver. Any ideas why this truncation might be happening?]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/31/77.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/31/77.page</link>
				<pubDate><![CDATA[Wed, 14 Dec 2005 16:25:33]]> GMT</pubDate>
				<author><![CDATA[ leono]]></author>
			</item>
			<item>
				<title>Re:Truncated varchar values in jisql</title>
				<description><![CDATA[ Would it be possible to post your DDL - the descriptions of your tables?  I've used this on MS/SQL and haven't seen this.<br /> <br /> Also, can you run jisql with the -driverinfo command line argument?  I'd like to be able to test with the same versions that you're using.<br /> <br /> Thanks for reporting this!]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/31/250.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/31/250.page</link>
				<pubDate><![CDATA[Wed, 14 Dec 2005 21:44:15]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Truncated varchar values in jisql</title>
				<description><![CDATA[ DDL:<br /> <br /> create table tblLenTest ( mycol varchar (50))<br /> GO<br /> insert into tblLenTest(mycol) values('This is a string which is longer than 24 chars')<br /> GO<br /> <br /> Then, executing:<br /> java -classpath /Users/leon/Desktop/Download/jisql/lib/jisql.jar:/Users/leon/cvs/_shared/_Java/mssql/mssqlserver.jar:/Users/leon/cvs/_shared/_Java/mssql/msbase.jar:/Users/leon/cvs/_shared/_Java/mssql/msutil.jar com.xigole.util.sql.Jisql -driver mssql -user XXX -password XXX -c \; -cstring jdbc:microsoft:sqlserver://XXX:1433;databaseName=master<br /> <br /> <br /> and entering:<br /> 1 &gt; select * from tblLenTest;<br /> <br /> results in:<br />                    mycol | <br /> -------------------------|<br /> This is a string which i | <br /> <br /> <br /> Driver Info:<br /> <br /> driver.getMajorVersion() is 2<br /> driver.getMinorVersion() is 2<br /> driver is JDBC compliant<br /> driver property named "netAddress"<br /> description: "Workstation's network interface card address"<br /> required parameter?: "false"<br /> current value: "000000000000"<br /> <br /> driver property named "portNumber"<br /> description: "Port number"<br /> required parameter?: "false"<br /> current value: "1433"<br /> <br /> driver property named "hostProcess"<br /> description: "Workstation process ID number"<br /> required parameter?: "false"<br /> current value: "0"<br /> <br /> driver property named "user"<br /> description: "Login ID"<br /> required parameter?: "true"<br /> current value: ""<br /> <br /> driver property named "sendStringParametersAsUnicode"<br /> choices:<br />         choice 0: "false"<br />         choice 1: "true"<br /> description: "Send UCS2 String Parameters As Unicode"<br /> required parameter?: "false"<br /> current value: "true"<br /> <br /> driver property named "databaseName"<br /> description: "Database name"<br /> required parameter?: "false"<br /> current value: ""<br /> <br /> driver property named "programName"<br /> description: "Name of the application program"<br /> required parameter?: "false"<br /> current value: ""<br /> <br /> driver property named "serverName"<br /> description: "Server name"<br /> required parameter?: "true"<br /> current value: ""<br /> <br /> driver property named "selectMethod"<br /> choices:<br />         choice 0: "cursor"<br />         choice 1: "direct"<br /> description: "Select Method"<br /> required parameter?: "false"<br /> current value: "direct"<br /> <br /> driver property named "WSID"<br /> description: "Workstation's ID"<br /> required parameter?: "false"<br /> current value: ""<br /> <br /> driver property named "password"<br /> description: "Login Password"<br /> required parameter?: "true"<br /> current value: ""<br /> <br /> metaData.getDatabaseProductName(): "Microsoft SQL Server"<br /> metaData.getDatabaseProductVersion(): "Microsoft SQL Server  2000 - 8.00.760 (Intel X86) <br />         Dec 17 2002 14:22:05 <br />         Copyright (c) 1988-2003 Microsoft Corporation<br />         Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 1)<br /> "<br /> metaData.getDriverName(): "SQLServer"<br /> metaData.getDriverVersion(): "2.2.0029"]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/31/251.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/31/251.page</link>
				<pubDate><![CDATA[Thu, 15 Dec 2005 08:35:02]]> GMT</pubDate>
				<author><![CDATA[ leono]]></author>
			</item>
			<item>
				<title>Re:Truncated varchar values in jisql</title>
				<description><![CDATA[ That is just what I needed - let me take a look.  Thanks for the information.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/31/257.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/31/257.page</link>
				<pubDate><![CDATA[Thu, 15 Dec 2005 08:38:53]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Truncated varchar values in jisql</title>
				<description><![CDATA[ For what it's worth, we have the same problem using the jTDS JDBC driver for SQL Server.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/31/261.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/31/261.page</link>
				<pubDate><![CDATA[Thu, 15 Dec 2005 14:05:00]]> GMT</pubDate>
				<author><![CDATA[ akerr]]></author>
			</item>
			<item>
				<title>Re:Truncated varchar values in jisql</title>
				<description><![CDATA[ A new version of Jisql is now available that fixes this bug.  More information is available at [url=http://www.xigole.com/software/jisql.jsp]the Jisql home page[/url] but basically I've flipped the default behavior from always truncating columns to optionally truncating columns.  Please let me know if you have any problems with this version.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/31/262.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/31/262.page</link>
				<pubDate><![CDATA[Thu, 15 Dec 2005 14:52:26]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Truncated varchar values in jisql</title>
				<description><![CDATA[ Perfect, this fixes the problem for us nicely.  Thanks for the patch.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/31/264.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/31/264.page</link>
				<pubDate><![CDATA[Fri, 16 Dec 2005 12:19:33]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>
