Microsoft provides the same ADO.NET connector to Sql Server and Sql Database. How can I tell if the DB I'm connecting to is Sql Database?
And yes I can probably guess from the connection string. But I'd prefer to know for sure.
thanks - dave
Select ##version will return Microsoft SQL Azure (RTM) - 12.0.2000.8 ... for Azure Sql DB.
Thanks,
Mihaela
Related
I know that SQL Server has linked server that allow it to connect to other database and execute query. Now I am using firebird. I wonder if firebird has its "linked server" to access other databases. Thanks!
Firebird doesn't have a linked server feature. There is a limited method for accessing other Firebird databases (either remote or locally) using EXECUTE STATEMENT, however this only supports Firebird database, and you need to provide the data source information on each invocation.
It's probably a trivial question but I wasn't able to find any solution. The following script:
use Database1
go
...
use Database2
go
...
works in SQL Server Management Studio but not in SquirrelSQL 3.5.0 (jTDS Microsoft SQL driver) - use: invalid SQL statement.
What's wrong? Should I enable something in Squirrel options? (Both databases are located on the same server.)
Can anybody tell me if it is possible using Attunity for Teradata database and a Sql Server 2008 R2 database to have the "false load" loaded in a database and the logs in a different database?
Thank you so much,
Bogdan.
If anyone else wants to know, YES it is possible to have a different dabase for error tables when using attunity connector.
If one uses SSIS package in which attunity connector is used, all you have to do is to go in properties for that dataflow task object, to section "[teradata destination].[ErrorTableName]" and there you can write the name for desired database.table_name.
There is ADO.NET provider/adapter for Oracle. Can I use the same to connect peoplesoft db too ?
I want to use it with Microsoft Sync services.
Thanks
if the underlying PeopleSoft RDBMS is Oracle, then you can... but i think the even bigger problem will be understanding the database schema...
Is it possible for me to connect to a MSSQL database server with MySQL Workbench?
You cannot use MySQL Workbench as a Microsoft SQL Server client.
But technically speaking, yes, you can connect to a Microsoft SQL Server database using ODBC if you are using the database migration wizard.
Source: https://dev.mysql.com/doc/workbench/en/wb-migration-wizard-connection.html