Connect to SQL SERVER in Qt on Linux - sql

I have to use Microsoft SQL database in Qt on Raspbian and I wonder whether is it possible. If so, use of which version (4 or 5) is easier to achieve it (building plugins etc.).

Connecting to Microsoft SQL Server from QT / Rasbpian is perfectly possible.
You need to install / use client side ODBC drivers, like unixODBC and FreeTDS.

Related

SQL Server - Client Version

I am new to SQL Server and trying to familiarize myself with it, so I have some questions.
My background is Oracle and am wondering if it works very similar to SQL Server.
On a client machine we need to install a client version of Oracle, and with the installation it comes with a TNSNames.ORA file which has settings for all of the Oracle DB's which are located on an Oracle DB server.
I would assume that SQL server would follow something similar, install a client version of SQL server? If so, does SQL Server has something similar to local Oracle?
I've found how connect to SQL server from another computer, just wondering if I still would need a slim down/client version of SQL Server, I would assume yes.
https://technet.microsoft.com/en-us/library/ms345343(v=sql.110).aspx
Some of you might be asking, why don't you try it, don't have my second computer yet, would like this info. ahead of time.
Thank you
SQL Server client APIs include the low-level components needed to connect to and use SQL Server so there is generally no need to install other connectivity components. To name a few Microsoft ones:
ODBC: Latest version is ODBC Driver 13.1 for SQL Server
OLE DB: Latest is SQL Server 2012 Native Client
.Net Provider for SQL Server (SqlClient): included .NET framework
JDBC: Latest Microsoft version is 6.2
There are also a number of other open source and commercial APIs available for use in various programming languages and development frameworks (e.g. Tedious for Node.js).

How do I connect to a Firebird db from a Windows CE device?

Like the title says. I have a Firebird database on a PC and would like to connect to it from a Windows CE device. How do I do this? (If there is a way to connect through ODBC, I'd prefer that)
EDIT: I'm using VB.Net.
Older versions of the Firebird .NET provider have support for .NET Compact Edition (I believe support was removed in 4.x, or maybe in 3.x). You will need to compile from source yourself though.
it all depends what language you want to use, odbc certainly can be used if you install the firebird client on the CE box

POWERBUILDER 11.1 Database Profile Does Contain SNC SQL Native client

I have POWERBUILDER 11.1 installed on my workstation, however I dont see the SNC SQL Native client in the Database Profile window. I have reinstalled the IDE multiple times without succesfuly having the SNC SQL Native Client dipslaying. My OS is Windows XP 32 bit.
How do I resolve this issue so I can connect to my SQL DB?
Do you have the SQL Server Native Client runtime installed on your machine? It's a package from Microsoft that is needed to access SQL Server. You can get the SQL Server 2008 version here: http://www.microsoft.com/en-us/download/details.aspx?id=16978 (Scroll down until you find sqlncli.msi). It needs to be installed on all the client machines that will be accessing SQL Server.
It sounds like you need to do a Full install or a Custom install and select SNC. I don't recall if SNC is part of the default installation, but it sounds like not.
Good luck,
Terry.
I think that you can not connect to SQL Server 2008 using PB 11.1, but I am not sure. Maybe you can but I can't remember if it is possible to use all the new features of 2008 version.
I am sure that you can connect to SQL Server 2005 cause I'm doing it every day, but you must first install SQL SNC driver as slapout answered.

Is there a Microsoft SQL Server binding?

Could someone give me an orientation on the use of any version of SQL Server?
I'm working with version 2003 at the moment.
There is a C library freetds that allows you to natively talk to Microsoft SQL Server and Sybase databases.
In order to use it in vala you need to create a "vapi file" (probably writing it manually) containing the class and method declarations in Vala syntax
In addition to the freetds library that o3o mentioned you can use unixODBC to access Microsoft SQL Server.
There are multiple unixODBC drivers for Microsoft SQL Server:
Microsoft ODBC Driver 11 for SQL Server on Linux (There is also an older version available
Microsoft SQL Server driver from easysoft
FreeTDS
There is also a list of unixODBC drviers on their homepage.
There is no readily available vapi file for unixODBC at the time of this writing. I'm working on a two layered approach for this. It's not finished yet, but might be useful someday ;).

What Oracle driver should I install in my MS SQL server to be able to use DTS to copy data from the Oracle server to the MS SQL server?

I have an Oracle server (version 9, I believe) and a MS SQL server (version 2000). The MS SQL server is running MS Windows Server 2003.
I would like to use DTS to extract some data from the Oracle server and pour it into the MS SQL server. I'm having problems finding out what driver I should install on my MS SQL server for it to be able to communicate with the Oracle server. (I don't really care if it's ODBC or a "native" Oracle driver.)
When I looked at this a while back I was stunned by the sheer number of different Oracle drivers and versions out there. Any help with a direct link to the exact Oracle driver recommended would be greatly appreciated, and I wouldn't mind any other helpful tips you could provide either. :) (Apart from upgrading the server/OS, that's not going to happen any time soon...)
I understand that it's the Instant Client that I'm being recommended to install, but more specifically for my situation, on the page http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html, are these the two packages I should install?
Version 11.1.0.6.0
Because it's the latest version, and it should be able to connect to Oracle 9.
Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
Because "all installations REQUIRE the Basic package", per information at the bottom of the Oracle webpage.
Instant Client Package - ODBC: Additional libraries for enabling ODBC applications
Because I need to use ODBC.
Have I understood this correct?
My first choice would be the Instant Client: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
Although this was not available for 9i, the 10g client will certainly connect to 9i without any problems, and the 11g probably would also.