odbc

Using Hibernate via an ODBC connection

自闭症网瘾萝莉.ら 提交于 2019-12-11 12:57:23
问题 I need to use Hibernate over an ODBC connection (not my decision) and would like to know the caveats of doing so (if it is even possible?). I have done some research and am slightly confused, hoping someone can clarify some points. It seems as if I'll need to use a JDBC-ODBC bridge? Wiki - JDBC/ODBC Bridge This page is filled with different JDBC "types" (1-4). From what I can understand, the implementation specific details of the driver increase with the type version? ie. a type 1 ODBC driver

How to correctly return special Spanish characters from a MS Access db with jdbc-odbc driver

倖福魔咒の 提交于 2019-12-11 12:52:43
问题 How can you return special characters from a Ms access (.accdb or .mdb) database using the jdbc-odbc driver for MS Acess databases? Converting from bytes of the result set( bytes[] bt = rs.getbytes(index_of_field) and then new String (bt, "UTF-8") or even new String (bt, "iso-8859-1") ) or getting the string ( rs.getString() ) won't work and you need a valid way to do it. 回答1: The way to get special characters like (some other special characters may also be returned successfully, however,

Deploy Access 2007 Database with SQL back end to Citrix for multiple users

佐手、 提交于 2019-12-11 12:52:17
问题 Situation : I recently took IT Support ownership of our Time Tracking database at my company (the old owner left). This was written in Access 2007 and uses SQL Server 2008 R2 Tables and views in the back end. We publish a locked (db.accde) version to our Citrix farm and users access it by logging into a citrix web portal and clicking on the icon for the Access Database. I have a need to move this from once server to a different server so the old one can be sunset. I tried simply copying the

Using Microsoft Access SQL operators in Python ODBC

一个人想着一个人 提交于 2019-12-11 12:23:51
问题 Short version: When I try to use Access's DatePart function via ODBC, it cannot be resolved. Longer version: I have a Microsoft Access query which returns rows with a timestamp and a score. I want to sort it by day and then by score - effectively a high-score table for the day. For want of a better function, I used the DatePart function to extract each of the Year, Month and Day from the timestamp, and ORDER BY them followed by Score. In Microsoft Access, the query works beautifully. However,

Need help querying UTF8 strings from Vertica with PHP ODBC driver

僤鯓⒐⒋嵵緔 提交于 2019-12-11 12:07:38
问题 I've been having some trouble figuring out the best way to handle UTF8 characters in PHP. I'm able to load UTF8 data (chinese characters) into Vertica just fine, and can see them there when using a JDBC client, so I know the data is being recorded correctly. However, when I query via PHP, strings that contain UTF8 characters come through as nulls. However, I can do something like wrap the UTF8 field in a URI_PERCENT_ENCODE function, then do a urldecode on the data in PHP, which outputs the

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified : Wierd issue

只愿长相守 提交于 2019-12-11 11:51:36
问题 I am working on one .vbs file in which I am connecting to DB using below lines of code and than running some queries. Set cm = CreateObject("ADODB.Command") cm.ActiveConnection = "Driver={Microsoft ODBC for Oracle};Server ="+sInst+"; UID="+sUID+";PWD="+sPWD cm.CommandType = 1 cm.CommandText = sSQL cm.Execute() Set cm = Nothing Strange thing for me is when I am copying these lines to QTP and run it from QTP, it's working fine. But when running .vbs file (by double clicking and from cmd), it is

Jdbc-odbc bridge with ms access don't understand greek characters?

孤人 提交于 2019-12-11 11:46:37
问题 I hava a java appl , i can make connection between my ms access database and my appl but when i write greek character in a textfield then my database appears disunderstandings characters. If there is no solution how i could change my database and my source code? So how i could change my source code to change the database? Which database i must to use (java embedded , mysql ) i don't know. I just want to accepet the greek characters and to be ease to make the correction on my source code! This

PHP MS Access connection not working

守給你的承諾、 提交于 2019-12-11 11:27:15
问题 I am trying to connect php server to ms access database and i have tried everything still i am not able to connect. Here is my code <?php $conn=odbc_connect('testdb','',''); //$conn=odbc_connect("odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\wamp\www\test\testdb.accdb", '', ''); if (!$conn) { exit("Connection Failed: " . $conn); } $sql="SELECT * FROM testdb"; $rs[]=odbc_exec($conn,$sql); if (!$rs) { exit("Error in SQL"); } while (odbc_fetch_row($rs)) //<-------line 14 { $json

Prevent login of ODBC Text driver in Crystal Report for Visual Studio 2010

爱⌒轻易说出口 提交于 2019-12-11 11:17:04
问题 I am new to Crystal Report and I have a problem I cannot figure out. Because I cannot find an answer anywhere I try it this way. I am using a Crystal Report which uses an ODBC database with a text driver as a datasource. This report works perfect when opening it with the standalone Crystal Report XI. When opening it via VS2010 over a basic c#-program I am always prompted for the Username and Password for this DB, in spite there is none of this. Because of this I cannot access the data. The

How to define a driver for tclodbc?

天涯浪子 提交于 2019-12-11 11:04:37
问题 I want to use tclodbc from Linux environment to connect to a MS SQL server. I have the driver (freeTDS) and the connection string. But I don't know how to configure the driver to be used by tclodbs. There is a command database configure operation driver attributes But I don't know what to put as operation and attributes , and whether this is the right command. Related to my question: Accessing Microsoft SQL Server from Tcl running on GNU/Linux 回答1: OK, here's my take based on these guides