Hi.
I have a Crystal report where the data source has originally been set to use ODBC connections. Now I want to modify the data source to instead use OLE DB instead of using ODBC. How do I replace the data source connection without breaking the database fields which I have originally set up for my report? If I try to delete the orig...
We need to access a Teradata database via php application We don't have odbc (unixodbc etc) on the server.
How might one go about connecting to a teradata database quickly.
Keep in mind - this app needs to be as portable as possible.
...
i am trying to add data to mysql from excel. i am getting the above error on this line: rs.Open strSQL, oConn, adOpenDynamic, adLockOptimistic
here is my code:
Dim oConn As ADODB.Connection
Private Sub ConnectDB()
Set oConn = New ADODB.Connection
oConn.Open "DRIVER={MySQL ODBC 5.1 Driver};" & _
"SERVER=localhost;" & _
...
i am connecting to a mysql database through excel using odbc
what does this line do?
Set rs = oConn.Execute("SELECT @@identity", , adCmdText)
i am having trouble updating the database:
With rs
.AddNew ' create a new record
' add values to each field in the record
.Fields("datapath") = dpath
.Fields...
i have:
With rs
.AddNew ' create a new record
' add values to each field in the record
.Fields("datapath") = dpath
.Fields("analysistime") = "atime"
.Fields("reporttime") = "rtime"
.Fields("lastcalib") = "lcalib"
.Fields("analystname") = "aname"
.Fields("reportname") = "rname"
.Fields("batchstate") = ...
I'm pulling a lot of text from a MS SQL Server database. I'm not getting all the text (which includes some html. The text is stored perfectly on the database. However, when I run the query to get the data It will only pull part of the text.
I pull the data using odbc_exec and store using $variable = odbc_result($runquery,"body").
if i ...
I am using SQL server and ODBC in visual c++ for writing to the database. Currently i am using parameter binding in SQL queries ( as i fill the database with only 5 - 6 queries and same is true for retrieving data). I dont know much about stored procedures and I am wondering how much if any performance increase stored procedures have ove...
I have the following sequence of code calls:
SQLPrepare
SQLExecute(hstmt, SQL_CLOSE);
SQLFreeStmt
//It works till here
SQLExecute //Now it fails.
Why am I required to call SQLPrepare again, I just freed the cursor. I shouldn't prepare the SQL statement again.
...
I can't see any of my schemas when I try to use Eclipse data source explorer. It's not a problem with JDBC connection because I can connect and execute SQL statements. It's just that the tables don't appear. How do I make them to appear?
...
hi guys
i want to import data from MYOB through odbc connection
i have successfully created the odbc connection and select queries are working fine.
i want to have a look at MYOB database schema so that i can write queries to retrieve data.
how can i get the schema of the MYOB database?
i made this odbc connection in server explorer, the...
I have inherited a suite of .Net c# applications from a developer which talk to an Informix database on a unix server.
Instead of using the usual practices for managing the database connections (disposable pattern / "open late / close early"), the code seems to open one ODBC connection when each app loads and doesn't close it.
Is there...
Right now we are using Fastpath ODBC DSN connection method to access our "ARUNA" Database. Our development platform is C# on the .NET Framework.
We are in need of connecting the DB without using DSN.
Is it possible to connect Aruna using DSN less method?
Update
Somewhere I heard about ODBC Bridge softwares, can anybody shed light on...
hi i am oracle DB.
i am uploading keywords into the DB. but i am getting the error
java.sql.SQLException: [Microsoft][ODBC Excel Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
at sun.jdbc.odbc.JdbcOdbc.createSQLE...
I have the developer version of the Caché DB running locally. When I try to use PDO ODBC to connect to it I just get errors:
Connection failed: SQLSTATE[IM002] SQLDriverConnect: 0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
I've used several DSN statements such as:
#$conn = "odbc:host=127.0.0...
We have an ODBC pool running on a NonStop server. The pool is connected to SQL/MX.
This pool is used by a few external Java applications, each of which has an JDBC pool connected to ODBC pool (e.g. 14 connections per application).
With time (after a few application recycles) we see an imbalance between CPUs -- some have 8 ODBC process...
What does the SQL Profiler logs contain?
Suppose that I am using SQL Server 2000 and do some transaction using VC++/ODBC connection. If a CDBException is thrown, will the profiler log contain information about why it is thrown?
Thanks.
...
Hi,
I'm trying to connect to an access database from a php script using ODBC.
When I put the db on my local c: drive create a system DSN i can connect no problem, but when it's on the networked drive I get the error:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Microsoft Access Driver] '(unknown)' is n...
I am creating a master database using SQLite. This single file contains a dozen tables. I want everybody in my group to have access to it (either through Python or through the SQLite command line) and I was thinking of simply putting the file in a group readable directory and calling it 'master.db'.
Now, the buzz word 'ODBC' comes to mi...
Hi, im connecting to dBase from java with this string:
String url="jdbc:odbc:DRIVER={Microsoft dBase Driver (*.dbf)};DBQ="+databasePath+";DefaultDir="+databasePath+";DriverId=533;FIL=dBase IV;MaxBufferSize=2048;PageTimeout=5;";
Work fine, but with a SELECT statement i can retrieve only record that are not "deleted".
In dBase database ...
I'm trying to automate a tedious problem. I get large Excel (.xls or .csv, whatever's more convenient) files with lists of people. I want to compare these against my MySQL database.*
At the moment I'm exporting MySQL tables and reading them from an Excel spreadsheet. At that point it's not difficult to use =LOOKUP() and such commands...