Add Providers MSSQL Linux - sql-server

i want add a new linked server in my SQL Server (14.3026.27) Linux Red Hat Enterprise 7.5, before i add a linked server to other SQL Database, but now when i want add a linked server to MySQL i cant.
I check my SQl Server linux and i found that i not had any provider in the section "Server Objects" i need MSASQL for do it i think.
My Question is How addproviders in SQL Server Linux? or can´t add linked servers to MySQL in my current server?
Any other information is very apreciate, thanks.

You can't. To quote from Unsupported features & services:
The following features and services are not available on Linux at the
time of the GA release. The support of these features will be
increasingly enabled over time.
Database Engine:
Merge replication
Change Data Capture (see SQL Server Agent)
Stretch DB
PolyBase
Distributed query with 3rd-party connections
Linked Servers to data sources other than SQL Server
System extended stored procedures (XP_CMDSHELL, etc.)
Filetable, FILESTREAM
CLR assemblies with the EXTERNAL_ACCESS or UNSAFE permission set
Buffer Pool Extension
Emphasis mine.

This isn't supported at the time of writing.
The list of unsupported features includes
Linked Servers to data sources other than SQL Server
It also says
The support of these features will be increasingly enabled over time.
If you have any relationship with Microsoft you may be able to speak to them in more detail about if/when they will enable the feature you want.

Related

How Can I Use A SQL Database Like I Used To Use Access?

I have been supporting a product written in VB6 with an Access database for a long time. In many of the installations a mapped drive was used to allow multiple workstations to run simultaneously. Since it seems Microsoft has broken that recently, I need to re-write everything with a new set of tools.
I plan to use VB.net and I would like to use a SQL database this time for the stability. The problem is that the market I sell to cannot / will not support installing full blown SQL Server and all the complexities of managing it.
What I am not able to find any current info about is whether or not SQL Server Compact still exists, whether or not it can be added to a NON web based project and if it will be easy to deploy and be easy to manage like an Access database was.
When I try to follow the directions to add SQL Server Compact to my project, it isn't available in the Data Source drop down list (there are "Simple by ErikEJ" versions listed but they don't seem to work) I have seen SQL Server Compact talked about with regards to web projects but I am building a locally installed .exe. I can't find ANY current info about what flavors of SQL are available right now to add to a local program running over a peer to peer network.
SQL Server Compact is no longer supported and developed by Microsoft, I suggest that you use SQL Server Express, it allows remote connections (if configured to allow it) and has modest resource requirements. Supports a database up to 10 GB of size.
As suggested, SQL Server CE can still be used but is no longer supported. For file-based databases, Microsoft currently recommend SQLite.
For a multi-user system, SQL Server Express is probably your best bet. It's still server-based though, so the server needs to be installed somewhere. For local databases, you can install on the same machine as the application and attach a data file on demand. For multiple clients, you'll need the server installed on a machine accessible to all and a permanently-attached database.

Microsoft SQL Server vNext – Linux edition - what SQL Server features does it lack?

I have a project where the choice of database engine is still up in the air, based on affordability and feature-set. Some basic groundwork has been carried out using SQL Server, and in evaluating the cost implications of opting to adopt SQL Server, versus a different vendor's product, I noticed that Microsoft has just released their public preview of SQL Server v.Next, which allows one to run SQL Server on a Linux platform.
According to www.theregister.co.uk, the public preview is a SQL Server executable that runs on *nix-based systems by utilising Drawbridge, which is essentially a way of running Windows applications on a tiny version of the Windows 8 kernel, run inside a sandbox.
One issue most open source advocates have had with Microsoft's SQL Server is that SQL Server Enterprise contains all functionality, and when opting for a more budget-friendly version, certain limitations are imposed on you.
Specifically, Standard Edition and Web Edition impose upper limits on in-memory column store (32GB and 16GB respectively), and Web Edition removes backup compression as a feature.
I've searched the web in an attempt to find out how Microsoft intends to license SQL Server as far as Linux versions are concerned, my main concern being related to database mirroring. As far as database mirroring is concerned, SQL Server Standard and SQL Server Web Editions both have a subset of the functionality provided by SQL Server Enterprise.
I'm looking to understand three things:
How is Microsoft going to license SQL Server vNext for Linux (specifically, the Ubuntu version)?
If vNext is a subset of the functionality of the Windows version of SQL Server, what functionality is omitted?
Is database mirroring functionality present in the Linux distros of SQL Server vNext?
I don't think licensing information has been released yet.
What we do know is SQL Server Next on Windows & Linux will run a single feature set. Here is a quote taken from MS at Connect().
Microsoft officials said SQL Server Next on Linux and SQL Server Next
on Windows are based on a single code base. "There are some features
that have platform specific characteristics. For example, file paths
in Linux are different than file paths in Windows," said a
spokesperson. But they are not two completely different products.
My take on this is: SQL Server 2018 (or whatever it ends up being called) will be the same on Linux and Windows. This lines up with the big news about SQL Server 2016 Service Pack 1. MS have announced all editions will be functionally the same, from LocalDb to Enterprise.
While the Linux version remains in preview it is hard be sure what the final product will look like. If this is choice you have to make soon you may well feel the Linux solution isn't, quite, ready for prime-time.

Am I using SQL Server or SQL Azure?

I have this issue which I have asked about here
In all my programmatic attempts to fix the issue above, things like this are displayed in the messages box:
Reference to database and/or server name in
'master..sp_addsrvrolemember' is not supported in this version of SQL
Server.
How do I find the version of SQL Server,I am using? It seems nothing is supported by my version.
Is the issue can be that - I am not using SQL Server somehow? I am using Microsoft Azure to host my database. Does that make you use SQL Azure? In SSMS, in the Object Explorer, at the top where it says the server, it says gonskh1ou0.database.windows.net(SQL Server 13.0.201 - Amber). Amber is my user name, and is the administrator. SQL Server 13.0.201 is not in this list of SQL Server build numbers
Yes, you are using the Azure version of SQL Server, which does not support sp_addsrvrolemember.
(Do note that that stored procedure is deprecated and you should be using ALTER SERVER ROLE, which is supported at least in Azure SQL Data Warehouse's preview.)
The only way to run a full SQL Server is to create a VM and run it there yourself. The Azure version will never be the full version.
You are using Microsofts implementation of SQL server, the version number and name(Amber) supplied are indeed correct. Depending on the level of Azure account you are using, this server is usually configurable.
Microsoft Azures platform contains some very nice support and I would advise consulting directly with a rep. They have always been very helpful and quick to help in regards to configuration issues, even performing the configurations for you if required.

Redistributable local database for windows desktop app

I am getting a little bit confused about the difference of the followings:
SQL Server Express
SQL Server Compact
localDB
My requirement is to develop a desktop application that will use basic RDBMS features. I need to package the application and allow the user to install a single distributed package. I don't want the user to install even SQL server express.
In this case, which DB I should use? SQLite is not considered as too much re-coding has to be done.
Thank you.
SQL Server Express is full featured DBMS, with some limitations in terms of database size and resources it is allowed to use. You can see it's limitations (relative to SQL Server) on microsofts site (Features Supported by the Editions of SQL Server 2012)
SQL Server CE is embedded database, meaning that it runs in user mode, it's easy to deploy (requires you to copy just few assemblies), lightweight but fast, can be run by a low privileged user. It's supported by NHibernate. However, has more limitations. To me most notable is that there are problems when you try to have multiple connections to same database. Although MS claims that this is supported, if you try this in Windows 2008 server, you will fail. And what's worse, such use scenario may lead to DB corruption. This means that you will effectively not be able to use some Management tool to update data while your service/website is running. Also, SQL Server Management studio doesn't support SQL CE anymore, so you will have to use a 3rd party tool, like Database.NET. It also does not support subqueries.
localDB, having not used it, sounds like a compromise. It's a standalone database which is executed in user mode (can be used by low privilege user), but must be installed so you will need administrative privileges for that part. Offers set of capabilities of SQL Server Express. It's much larger than SQL CE, and also requires to be installed (unlike CE which is just binary drop in). Shortest overview of this DBMS can be found here.

Sybase GUI Client

What are the available Sybase GUI clients for Windows.
I have tried DBVisualizer and RazorSQL any other recommendations. Free preferred
u can try "Interactive SQL" which shipped with Sybase 15 Client, it's better than Sql Advantage, and it's free to download via. Sybase website.
One other solution would be sqlDeveloper from oracle (if you are used to it). You can make it work with Sybase databases by downloading the jTDS driver. Then you can go to sqlDeveloper and choose Tools -> Preferences -> Database -> Third Party JDBC driver. It will work like a charm.
I find it very convinient as i was used to sqlDeveloper, so i can add any driver for any DB provider i want.
You can try a non commercial client TOAD for sybase
and a comercial client like dbArtisan that allows you debug of the stored procedures what for me its very usefull.
I like SQL Workbench/J, sort of like DBVisualiser but entirely free. It can connect to a lot of databases (that have JDBC drivers) and has a handy datapump/data replication tool, that can also be used in batch mode.
Aqua Data Studio seems popular with the clients I work with. But I generally use the tools from Sybase : Interactive SQL (SQL Editor) and Sybase Central (Data Schema, Debugger etc)
Other possible tools could be Squirrel and DBeaver. Both are open-source and free.
Here are some links : dbeaver.jkiss.org
squirrel-sql.sourceforge.net .
SQuirreL SQL Client is a graphical SQL client written in Java that will allow you to view the structure of a JDBC compliant database, browse the data in tables, issue SQL commands etc.
DBeaver will let you do all basic DDL and DML functions, DB object script extraction etc. Various plugins exist e.g DBDiff Plugin which lets you compare objects between two different sessions
Workbench/J is a good choice. It can work with Oracle/Sybase/Informix and other databases.
Setup SQL Workbench/J to connect to sybase in Ubuntu 14.0.4
Install SCN SDK "https://store.sap.com/sap/cpa/ui/resources/store/html/SolutionDetails.html?pid=0000013451&catID=&pcntry=US&sap-language=EN&_cp_id=id-1417018812660-0"
unzip the file.
create /opt/sap and chown sap:sap /opt/sap -- sap is the owner for software
run setup.bin after unzip the linux.tgz
In SQL Workbench Setup jdbc connection pointing to "/opt/sap/jConnect-16_0/classes/jconn4.jar"
Setup sybase connection URL to be jdbc:sybase:Tds::
e.g. jdbs:sybase:Tds:sybase1:5000

Resources