 |
|
 |
|
Next: what does office 2000 premium add to office 2000 ..
|
| Author |
Message |
External

Since: Jan 16, 2008 Posts: 70
|
(Msg. 1) Posted: Sun Dec 14, 2008 12:25 am
Post subject: Import MySQL Backup to MS SQL Server Archived from groups: microsoft>public>sqlserver>programming (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jan 29, 2004 Posts: 1559
|
(Msg. 2) Posted: Sun Dec 14, 2008 3:25 am
Post subject: Re: Import MySQL Backup to MS SQL Server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jan 16, 2008 Posts: 70
|
(Msg. 3) Posted: Sun Dec 14, 2008 7:27 am
Post subject: Re: Import MySQL Backup to MS SQL Server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Tibor Karaszi" wrote in
message
> Run the SQL scripts using SSMS, or SQLCMD? But you first need to handle
> whatever SQL in there which isn't compatible with SQL Server.
I kind of figured that much. But this produces a lot of errors and, at
161MB, it seems like it would take forever to edit the file by hand.
I just wondered if anyone had created an automated way of doing this.
Jonathan >> Stay informed about: Import MySQL Backup to MS SQL Server |
|
| Back to top |
|
 |  |
External

Since: Jan 29, 2004 Posts: 1559
|
(Msg. 4) Posted: Sun Dec 14, 2008 10:25 am
Post subject: Re: Import MySQL Backup to MS SQL Server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
> I just wondered if anyone had created an automated way of doing
> this.
I see. I gooled for below and it seems there are tools and such out
there:
"mySQL to SQL Server"
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Jonathan Wood" wrote in message
> "Tibor Karaszi"
> wrote in message
>
>> Run the SQL scripts using SSMS, or SQLCMD? But you first need to
>> handle whatever SQL in there which isn't compatible with SQL
>> Server.
>
> I kind of figured that much. But this produces a lot of errors and,
> at 161MB, it seems like it would take forever to edit the file by
> hand.
>
> I just wondered if anyone had created an automated way of doing
> this.
>
> Jonathan
> >> Stay informed about: Import MySQL Backup to MS SQL Server |
|
| Back to top |
|
 |  |
External

Since: Jan 16, 2008 Posts: 70
|
(Msg. 5) Posted: Sun Dec 14, 2008 11:51 am
Post subject: Re: Import MySQL Backup to MS SQL Server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Thanks, I'm checking that out. Nothing looks really good yet and I have the
option of discarding the data and starting again. I didn't want to discard
the data but it's sounding like a better and better option all the time. <g>
BTW, the MySQL script contains very long lines which makes the SSMS editor
take about 20 seconds virtually every time I move the cursor. Trying to edit
the file directly there is out of the question.
Jonathan
"Tibor Karaszi" wrote in
message
>> I just wondered if anyone had created an automated way of doing this.
>
> I see. I gooled for below and it seems there are tools and such out there:
> "mySQL to SQL Server"
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
>
> "Jonathan Wood" wrote in message
>
>> "Tibor Karaszi" wrote
>> in message
>>
>>> Run the SQL scripts using SSMS, or SQLCMD? But you first need to handle
>>> whatever SQL in there which isn't compatible with SQL Server.
>>
>> I kind of figured that much. But this produces a lot of errors and, at
>> 161MB, it seems like it would take forever to edit the file by hand.
>>
>> I just wondered if anyone had created an automated way of doing this.
>>
>> Jonathan
>>
>
> >> Stay informed about: Import MySQL Backup to MS SQL Server |
|
| Back to top |
|
 |  |
External

Since: May 30, 2004 Posts: 2060
|
(Msg. 6) Posted: Sun Dec 14, 2008 3:13 pm
Post subject: Re: Import MySQL Backup to MS SQL Server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jan 16, 2008 Posts: 70
|
(Msg. 7) Posted: Sun Dec 14, 2008 6:29 pm
Post subject: Re: Import MySQL Backup to MS SQL Server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Erland Sommarskog" wrote in message
>> Thanks, I'm checking that out. Nothing looks really good yet and I have
>> the option of discarding the data and starting again. I didn't want to
>> discard the data but it's sounding like a better and better option all
>> the time. <g>
>>
>> BTW, the MySQL script contains very long lines which makes the SSMS
>> editor take about 20 seconds virtually every time I move the cursor.
>> Trying to edit the file directly there is out of the question.
>
> Just because it's SQL, you don't have to edit it SSMS. Textpad, for
> instance
> works a lot better with long lines. (www.textpad.com). And you can set up
> a command-line tool in Textpad, so you can pass the file to SQLCMD.
Yes, I realize that. I loaded it into a more efficient program initially to
see what was there. However, the syntax coloring really helps when you've
got multi-million character lines and somewhere between the start and end of
those lines it got confused about what was inside and what was outside of
the single quotes.
> Although I will have to admit that I would not take up such an editing
> task myself.
Heh, I think that makes two of us.
Jonathan >> Stay informed about: Import MySQL Backup to MS SQL Server |
|
| Back to top |
|
 |  |
External

Since: May 30, 2004 Posts: 2060
|
(Msg. 8) Posted: Mon Dec 15, 2008 12:41 am
Post subject: Re: Import MySQL Backup to MS SQL Server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 27, 2007 Posts: 7
|
(Msg. 9) Posted: Mon Jan 26, 2009 8:27 am
Post subject: Re: Import MySQL Backup to MS SQL Server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
First: I don't have any valid answer.
I have a 9Gb mysql dump and because of the single quotes and the huge size,
it can't be opened in sql enterprise manager nor edited.
So for now I have a temporary workaround where I have a mysql box running on
windows where I extract the dump, and then I do a dts import from that box to
my sql server. it's not pretty, but works well.
I'm still looking for that magic bullet though.
"Erland Sommarskog" wrote:
> Jonathan Wood (jwood@softcircuits.com) writes:
> > Yes, I realize that. I loaded it into a more efficient program initially
> > to see what was there. However, the syntax coloring really helps when
> > you've got multi-million character lines and somewhere between the start
> > and end of those lines it got confused about what was inside and what
> > was outside of the single quotes.
>
> Third-party text editors typically provide syntax colouring one way or
> another.
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel DeleteThis @sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
> >> Stay informed about: Import MySQL Backup to MS SQL Server |
|
| Back to top |
|
 |  |
| Related Topics: | How to transfer backup from client to server machine (SQL .. - In my line of bussiness it is not possible to help every client on this issue (several thousand users) What I need to achieve is transferring backup to the server by using SQL Server to do it and restoring it with SQL Server. A solution for SQL 2005 woul...
restoring SQL Server 2005 backup in sql server 2000 - Hi! Can it is possible to restore backup of a database from sql server 2005 to sql server 2000 or i need to use DTS for this transformayion. Regrads, Jami *** Sent via Developersdex http://www.developersdex.com ***
backup database on another server as instance - I'm trying to work out a script/sp that I can use to backup a database running in an instance on another server to a local workstation running MSDE. Is this possible and if so, how? I can't find anything in the archives that show anyone has done this....
SQL Server memory ballooning during mass import - Hi, Apologies if this is not the correct newsgroup - I've also posted this message to the microsoft.public.dotnet.framework.adonet and microsoft.public.sqlserver.datawarehouse newsgroup... As part of a datawarehoue application, I have a Windows..
Import network shares to sql server - hi, I just install sql server 2000 and sharepoint portal server 2003 in one box,please can you tell me how can i import my network shares into SQL to use sharepoint portal server? Thanks a lot.. |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|