How to convert excel file into mdf file - mysql

i have an exel file. i want to change this file into mdf formmat. Plz tell me the full procedure, how i can convert this file. i m using excel 2003 nd sql server 2000.

You can not convert. The mdf is a SQL server file. You can import data from Excel to SQL server. There is a Data Import Wizard in SQL server to get you started.

Related

Exporting from MySQL and importing into Microsoft SQL

I exported a MySQL DB, both structure and data, using PHPMyAdmin, with the option of exporting it as MSSQL compatible single file: mydb.sql
The resulting file is large (about 2GB).
I have a DB set up on a Microsoft SQL Server.
How do I import the mydb.sql file, into the Microsoft SQL Server? I installed the Microsoft SQL Server Management Studio, and was able to use it to connect to the Microsoft SQL Server, and connect to the DB, but I can't figure out how to use it to import mydb.sql, to create the table and data.
Any ideas?
Choose File->Open from SSMS menu.
Pick your SQL file.
Once the file is loaded be sure that you are in the context of your database.
Click Execute button.

Can I import data from FTP server directly to my local MySQL?

I wonder if I can import a file (like a csv file or a file in other formats) from a FTP server directly into the local MySQL using MySQL workbench?
Also, can I export the dataset directly to FTP server using MySQL workbench?
Thank you!

How to convert xls files to xlsx files and save in a folder using SSIS?

How to convert .xls file to .xlsx file in ssis.
My requirement is to export the user defined stored procedure in to excel destination.
This is my control flow task:
[Execute SQL Task (Drop excel table)]-->[Execute SQL Task (create
excel table)]-->[Data flow Task]
My Data flow task is :
[OLEDB Source (to execute the stored procedure)]-->[Data
conversion(convert to unicode)]--> [Excel Destination]
When I do this, the excel destination table is stored as .xls file. I need to convert to .xlsx file. I have excel 2013 installed on my server but file saved as .xls. Please help me to write a code to convert xls files to xlsx file using SSIS.
Thank you for your time and help !
which version of data tool are you using? SSDT or BIDS?
If you are using SSDT, like Alex said, you can choose excel 2007 in the EXCEL destination and save the file as .xlsx.
If you are using BIDS before SS 2005, you can try to use OLE DB destination and create a new connection manager through Native OLE DB\Microsoft Office 12.0 Access Database Engine OLE DB Provider.

Windows command-line utility to convert Access .mdb database to MySQL or SQL Server?

Is there any program that can convert an Access .mdb database to a MySQL or SQL Server database by command line so I can use it and enter the required command line from my application?
Please refer following links to convert mdb file to mysql file format
How to import an Access MDB format database to MySQL?
How can I convert an MDB (Access) file to MySQL (or plain SQL file)?
http://www.bullzip.com/products/a2m/info.php
SQL Server Migration Assistant has command line options. See the following link.
http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx?Redirected=true

How do I convert files .mdf & .ldf to mysql format

I'm not familiar with these files .MDF & .LDF. I want to convert both to MySQL format or .CSV.
Let me know how can be done. Any tools or scripts can convert it.
They're both SQL Server files. MDF is a database file, and LDF is a transaction log file.
The way to extract data from them is by attaching them to an instance of SQL Server. If the database file is smaller than 5GB, you can attach it to the free edition. If not, you'll need a real version of SQL Server.
The version of SQL Server has to match the version that you got the MDF file from. Sometimes, a newer server version can read an older MDF, but don't count on it.
Once you've got the database attached, you can generate a CSV file in many ways. One easy way is to "Save Results As" from SQL Server Management Studio.
You don't
You have to attach them to a SQL Server Instance and then use of of the Wizards. or import from a MySQL instance-