If I have my own DBMS and am developing to ODBC software interface, what would I be working on?
making sure that one can access data from any database through my DBMS, OR
making sure that every database can access data from my database
I did not exactly understand this from the Wikipedia page.
...
Hello fellow programmers
I have been searching the internet for a few days now and can't find a generic method to solve this with only ODBC and SQL.
Is there a way to see if a database already exist, only using ODBC. It has to be standard SQL because the user can chose a DSN of his choice (meaning his own SQL Server).
This means I can...
Hi GUys,
I want to fill my DataGridView from database using ODBC connection. How can I achieve this?
string userName = ConfigurationSettings.AppSettings["userName"];
string password = ConfigurationSettings.AppSettings["password"];
string connectionString = userName + password;
OdbcConnection odbcConnect...
I am upscaling an access 2003 database to SQL Server Express 2008. The tables appear to be created ok and the data looks ok.
I have an MFC application that connects to this database. It worked fine connecting to access, but when I connect to SQL Server I am getting the following error on a select statement.
DBMS: Microsoft SQL Server...
Is it possible to link tables from other databases (MS SQL, Sybase, etc.) inside a MySQL database, on a Debian server?
I am thinking this could be possible using ODBC.
...
I've got a problem where I'm inserting data into a database. It's returning that 1 row is being inserted, but when I actually check the database, nothing new has actually been inserted.
Here's my update function:
public int update(String sqlStatement) {
int rows = 0;
try {
Statement st = this.conn.createStatement();
...
When accessing a Microsoft SQL Database from PHP using PDO_ODBC with the following code, I have an encoding issue. When outputed the text from the DB is garbled.
$dsn = "odbc:DRIVER={SQL Server};SERVER=$hostname;DATABASE=$database;charset=UTF-8";
$pdo = new PDO($dsn,$username,$password);
$sql = "SELECT text FROM atable";
$result = $PDO-...
This is the simplified version of the problem: We have a table on an Oracle Database. We cannot extend this table (bought app). We need to describe each row of that Oracle table with some text.
So the descission has been to use MS Access for this. So I created in Access a table (Call it ACCESS_TABLE). The table consists of ID and MEMOT...
Hi everyone,
I'm trying to connect to an oracle db from an odbc connection, the odbc connection is set and works properly when we test it. However when I try to connect to through ASP classic I keep getting that msg. I'm also able to connect to it through SQLPLUS and able to ping it with tnsping
<%
Dim connection : Set connection = Ser...
Is it possible to have an ODBC connection to a MS Access 2007 database on Windows XP without having any other database engine (i.e. Microsoft.ACE.OLEDB.12.0) installed?
I am using the following connection string which works on Windows 7 but not on Windows XP. (There is only *.mdb option in Data Sources (ODBC) control panel in Windows XP...
The query in the PHP code below works fine when I run it via Microsoft SQL Server Management Studio, but gives
Warning: odbc_fetch_into()
[function.odbc-fetch-into]: No tuples
available at this result index
at the odbc_fetch_into call (and does not have any rows).
$sql = "DECLARE @ValueList TABLE (CheckValue int)
INSERT INTO ...
I am working on a GUI application that will be used to perform "manual assessment" of large datasets produced by an AI algorithm. The nature of the assessment isn't important to this question; only the fact that the program will need to periodically check for new data from a server, download it, and then upload the results that the user ...
We are using SharePoint BCS to connect to our DB2 Database, we have our method configured as the following
<Property Name="RdbCommandText" Type="System.String">select "EMPNO","FIRSTNME","MIDINIT","LASTNAME" from ADMINISTRATOR."EMPLOYEE" order by "FIRSTNME" fetch first ? rows only</Property>
we also have a limit Filter which provides t...
I try to execute the following command and receive this error:
[root@localhost ~]# isql -v asterisk-connector
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/libmyodbc.so' : /usr/lib/libmyodbc.so: cannot open shared object file: No such file or directory
[ISQL]ERROR: Could not SQLConnect
I have checked and libmyodbc.so does...
I have an application that allows the user to enter an SQL string with a placeholder for certain values my application produces. The application will the replace the placeholders with values and execute the SQL string through various database backends.
For the ODBC backend, I call SQLExecDirect() on the SQL strin which works nicely on r...
I have a database in a format which can be accessed via ODBC. I'm looking for a command-line tool to generate SQL file with DROP/CREATE statements from it, preferably with all the information including table/field comments and table relations. (Possibly for a tool to parse the file and import the schema too, but I guess this would be rel...
Hi,
I'm new to iOS development. I have to make an application that connects to a Sybase database. My bet would be to use ODBC. Does anyone know how to connect to an ODBC enabled database from within objective C.
I've encountered applications that can do this but I don't seem to find any specific iOS related documentation or source code...
This may seem like a stupid question, but rest assured that I don't need general database help, but MS Access help specifically. This would not be a problem if I were working with any other database.
I need to fish out the primary key(s) form an MS Access table using PHP with an ODBC connection. I have found two PHP functions that suppo...
I have a 64bit server running Windows Server 2008 and MSSQL 2008, both in 64bit.
I also have an application which queries a second system but can only work in windows server 2003 32bit.
I want to connect both systems via a service that would run on the 32bit system and connecting to MSSQL via ODBC.
What are the pitfalls? Has anyone trie...
I have a PHP application that uses the ODBC functions for database access. My DBA recently discovered that the application is not closings its database connections, resulting in numerous invalid connections that are in a TIME_WAIT state.
We have checked the code and I am doing an odbc_close_all call in every script, plus even if I wasn...