I have both SQL Server (SSMS) and Teradata SQL Assistant installed on my machine. I primarily work in the Teradata application and wish to use Teradata as my default application for opening SQL files but currently all sql files saved to my machine are automatically saving as Microsoft SQL Server file types and opening in SSMS. I try to use the "Open with" option to select Teradata but Teradata does not appear in the list. Does anyone know how I can set Teradata to be my default sql app to open .sql files?
Related
I would like to recreate all the tables automatically. I have downloaded and installed Sqlite in Visual Studio and created an empty sqlite database. This should be the target. But which options do I have to import my data from a SQL Server Express database? Many Thanks
Is it possible to use a SQL Server database, i.e. a .mdf file, without having to install SQL Server (Express)?
No you cannot use .mdf file without installing SQL Server on your system. However, there are some open source projects which you might be interested to look in like OrcaMDF which you can use to read the SQL server data files without the usage of SQL Server installation.
I was working with Oracle 11g and now I wish to migrate into Microsoft SQL Server 2008 for academic learning purposes. I have my DDL in a .txt file with all the syntax compatible with Oracle. Now I have to create the same tables and insertions in SQL Server. What are the possible options to convert or import my existing database created in Oracle to SQL Server ?
Take a look at this link
http://technet.microsoft.com/en-us/library/hh313159.aspx
It describes step by step the procedure of migrating ORACLE database to Microsoft Sql Server database.
To Convert Oracle 11g to SQL Server 2012, Microsoft provides a tool called SQL Server Migration Assistant for Oracle (SSMA).
Below are very high level steps:
Download SSMA for Oracle from this Link. Make sure you have
downloaded SSMA for Oracle and SSMA for Oracle Ext Pack. Install one
after another.
Note: At the time of installation, it will give option for DB
Instance and also for creation of Master password. Keep a note of
them. You might need them later.
Open SSMA and create a new project.
Connect to Oracle DB.
Connect to SQL Server 2012.
Convert schema of Oracle.
Migrate data of Oracle.
Synchronize with SQL Server.
Youtube link for a straight forward conversion.
MSDN PDF link for Datatype and other extensive information on the conversion.
The above is only to get you started, even I am not sure about few options like Sequence and DBLinks. Good Luck.
I installed adventure works, and I followed the instructions on this page:
How to: Create Connections to SQL Server Databases
basically nothing appears in the drop down, in step 2.
I cant even attach the database without getting an error, nor drag it to the web form.
It tells me that the database cant be attached cause it is version 705, and the server supports version 655..
Also what is teh difference between attaching the database and connecting to it?
I went to the installation center of 2008, and clicked on show installation info..I got this:
Microsoft SQL Server 2008 Setup Discovery Report
Product Instance Instance ID Feature Language Edition Version Clustered
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS Database Engine Services
1033 Express Edition 10.1.2531.0 No Sql Server
2008 SQLEXPRESS MSSQL10.SQLEXPRESS SQL Server Replication 1033 Express
Edition 10.1.2531.0 No
so I guess it is installed on my computer, but I cant access the application
You need the database to exist in an instance of SQL Server (or whatever RDBMS you so choose...but most likely, SQL Server). To do this you can do a few things: namely restore a *.bak database backup file of AdventureWorks, or you can attached the mdf and ldf files (database data and log files) to get your database online.
basically nothing appears in the drop down
Do you have an instance of SQL Server installed on your machine?
Also what is teh difference between attaching the database and connecting to it?
Attaching the database is using mdf and ldf files to get your database online ready for transactions. Connecting to the database is creating a connection between a client application and the aforementioned database. Two very different steps of the data access process.
Attaching to a database is necessary when the database file(s) are in a location other than the default location. You don't really "connect" to a specific database per se. You connect to a sql server instance which contains a list of databases on that instance (or referenced by the instance).
Currently I am using an SQL Server Compact Edition database in a Windows Forms application.
Now I have to move the database to SQLite. Is it possible to move the database from SQL Server Compact to SQLite? If it is possible, what are the steps we have to follow?
I have tools to export the SQL Server Compact file as a .sql script - that would get you half of the way - http://exportsqlce.codeplex.com