Re: "varbinary(max)" data type is returning as "image" in MS SQL

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance





Sagar wrote:

Hi Yesim,
Thanks for response. Couple of more issue I have found during using MS SQL 2005 drivers.

1. getProcedures of DatabaseMetaData doesn't return procedure name correctly. for e.g. it returns "procName;1" for procedure name "procName".
2. For some of datatype such as smallmoney, timestamp and uniqueidentifier driver return as smallmoney(10,4), timestamp(8) and uniqueidentifier(36). Please note that column size with precision doesn't make in sense in these data type.

I would appriciate if you can verify those and let me know if those are bugs?
Let me know if you need any more info from my side. Also let me know how I can file a bug directly for MS SQL 2005 driver?

Hi. Actually if you know SQLServer details, those are all informative
returns. It is little known, but there can be different versions of the
same-named stored procedure in the DBMS, and the ;1 suffix indicates it's
the first version. You could actually use that whole name in SQL, and even
call superceded versions, but for most users, it is not commonly seen.
The numeric suffixes to the data types are also correct, if redundant in
some cases. A unique identifier *is* a 36-byte entity, always (currently) so
at least for now the suffix could be assumed. The same with a timestamp
which is internally an 8-byte varbinary column, etc.
HTH,
Joe Weinstein at BEA Systems


Thanks,
Sagar

"Yesim Koman" wrote:


Hi Sagar,

Thank you for your input. We've verified that the issue you've run into is indeed a bug. I will get back to you once we internally decide on when a fix will be available. Thanks for your patience,

Yesim



.



Relevant Pages

  • Re: execute() vs executeUpdate() on a prepared statement
    ... the bug quickly,thanks. ... Server 2005 JDBC Driver ... execute may attempt to create a cursor. ... As you can tell the most important part of the repro is the SQL used ...
    (microsoft.public.sqlserver.jdbcdriver)
  • cvs-src summary for May 31 - June 7
    ... You can get old summaries, and an HTML version of this one, at ... driver for Intel Ethernet cards, then the ndis driver, for emulation of ... Maxime Henrion changed the fxp driver to use the device sysctl tree, ... This bug is covered by `FreeBSD-SA-04:12.jailroute`_, ...
    (freebsd-current)
  • cvs-src summary for May 24-31
    ... Tony Ackerman committed the first release of the ixgb driver, ... Brooks Davis added support for a /etc/eui64 file, ... Oliver Eikemeier added a "-depth n" flag to find. ... Dag-Erling Smorgrav fixed a bug in the msync system call that permitted ...
    (freebsd-current)
  • Re: SQL 2005 Profiler
    ... printer Microsoft Office Document Image Writer is unknown. ... administrator to install the driver before you log in again. ... Note that if the default trace is enabled, it is directed to the SQL Server log folder. ...
    (microsoft.public.sqlserver.security)
  • Re: TDBC documentation, examples, syntax?
    ... current SQL standards. ... for variable binding at the Tcl level. ... API, I'd probably use Oracle's bound session variables and pass ... As a convenience for driver writers, ...
    (comp.lang.tcl)