odbc

Can not connect to Oracle via VBA - Driver's SQLSetConnectAttr Failed

落爺英雄遲暮 提交于 2019-12-04 02:19:54
问题 I have created an ODBC connection for oracle using "Microsoft ODBC for Oracle" driver under user DSN. I can connect to oracle 10g using SQL developer but when i try to connect via ODBC its saying [Microsoft][ODBC DRIVER Manager] Driver's SQLSetConnectAttr Failed I have tried following code for connecting. data_src = Oracle Database = sys Uid = <my id> pwd = <my pwd> Set cn=new ADOBB.Connection Cn.open "DataSource=" + data_src + ";" + Database + "; persist security Infor = True; UserID= " +

Laravel to SQL Server (sqlsrv). [PDOException] could not find driver

喜夏-厌秋 提交于 2019-12-03 23:43:40
问题 Intro. My laravel app was using mysql, now it needs to be hosted in the network of the company I am working ( I am a remote-worker). And this company are Microsoft peeps, so I need to integrate the laravel to their SQL Server. I have this in my .env DB_CONNECTION=sqlsrv DB_HOST=ip.address.of.server DB_PORT=3306 DB_DATABASE=my_db DB_USERNAME=my_username DB_PASSWORD=my_password After using the php artisan migrate Error: [PDOException] could not find driver I am using Ubuntu, a remote box

Is there an overview of all SQL Server 2012 error codes?

对着背影说爱祢 提交于 2019-12-03 22:56:28
SQLGetDiagRec returns a native error code. Is there anywhere an overview of the error codes of SQL Server 2012? I couldn't find anything on MSDN. I'm unable to find a list of the individual codes in the internet. However I did find a list of the severity levels here on MSDN. They are as follows: Severity level / Description 0-9: Informational messages that return status information or report errors that are not severe. The Database Engine does not raise system errors with severities of 0 through 9. 10: Informational messages that return status information or report errors that are not severe.

Quickly changing SSIS-packages data source parameters for easy migration

寵の児 提交于 2019-12-03 22:17:09
I would need to migrate a SQL database from Sybase to MS SQL Server. Before doing the actual migration on the production server I first created an SSIS-package with SQL Server Management Studio's Import/Export Wizard for testing with other databases. The test migration was successful and I would now like to deploy my SSIS-package to the real servers. However, it seems I cannot simply run the package in Management Studio choosing different data sources for it - it only runs on the same databases for which it was created. Now, it can be edited in something called SQL Server Business Intelligence

How to connect ms sql database using perl in Windows?

这一生的挚爱 提交于 2019-12-03 21:27:38
I want to connect ms sql database through perl language. The following steps are I made. I've created a database table in the name "SampleDb" Configured ODBC and I've set name for sql server driver as "SampleDb" Now I've tried to connect as follows, , my $dbs = "dbi:ODBC:DRIVER={SQL Server};SERVER={SampleDb}"; my $dbh = DBI->connect($dbs, "username", "password"); But Now I got the following error DBI connect('DRIVER={SQL Server};SERVER={SampleDB}','username',...) failed: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied. (SQL-08001) [state was 08001 now

How can several users work on the same Enterprise architect file?

那年仲夏 提交于 2019-12-03 20:39:09
I'm wondering if many users can work on the same Enterprise Architect file ? our professor said it can be done if we can host the file in a repository and then link it to windows ODBC ? I'm not sure what does that means. There are two ways to set up an EA project: stored in an .EAP file (accessed through the file system), or stored in a database (accessed through ODBC) The file actually contains a database, and EA provides functionality for migrating both ways between the two. An .EAP file can be accessed by several users simultaneously (with the file on a network drive), as of course a

Is there a difference in the underlying protocol for ODBC, OLEDB & ADO.NET

五迷三道 提交于 2019-12-03 19:36:21
问题 When communicating to a SQL Server database using one of the typical systems, ODBC, OLEDB or ADO.NET, is the underlying basic protocol the same? Are all the differences between these systems basically just client side issues? Is this all just different flavors of TDS (Tabular Data Stream) transfer? [MS-TDS]: Tabular Data Stream Protocol Specification Or there actual different ways to talk to the database server and there are fundamental difference between these protocols? 回答1: ODBC, OLE DB

Connect to remote MySQL db from docker container

怎甘沉沦 提交于 2019-12-03 19:24:57
问题 I'm working to containerize a Django 1.5.x application that connects to a MySQL DB on a separate server via ODBC: [mysql_default] database = DB_NAME driver = /usr/lib64/libmyodbc5.so server = REMOTE_DB_SERVER user = DB_USER password = DB_USER_PWD port = 3306 I'm able to run the Django app on my local machine (outside docker) with a connection to the remote DB via port forwarding & SSH: ssh -L 3307:127.0.0.1:3306 MYID@REMOTE_DB_SERVER I've set up a Docker container for the app using Centos 6.x

Is it possible to embedded a Sqlite database into an excel 2007 file (zip archive)

帅比萌擦擦* 提交于 2019-12-03 18:10:28
问题 I'm working on an excel application that requires a database back end. My preference is to use SQLite 3 and to make this as seamless and portable as possible for the end user. Recently I have learned that an Excel 2007 file is simply a zip archive with a xlsm extension. My question is this, can I store my back-end SQLite 3 database in the Zip archive and use ODBC to interact with the database. If so, can anyone point me to some background information, articles, guidance on achieving this

What are the differences between OLEDB/ODBC drivers when connecting to SQL Server?

社会主义新天地 提交于 2019-12-03 17:47:47
问题 I have an SQL Server database, and I need to push data into it through vbscript, as well as pull data into Excel. I have found multiple connection strings, but no repository for the benefits of performance and functionality comparing them. The driver options ( Provider= ) I have found so far are: {SQL Server} (ODBC) SQLOLEDB (newer than ODBC, but being deprecated?) SQLOLEDB.1 (what Excel 2016 uses when clicking 'Get External Data', but not even mentioned on connectionstrings.com... I assume a