I was asked to program a site in coldfusion using mssql, but i have only used mysql in the past. i heard mssql has all the functions mysql has, but mysql does not have everything mssql does.. so if i programmed it in mysql, it should work? right?
is there a free download to test mssql or only a buy version?
Hello all, I spent the last two days trying to find an application that can export a mySQL database into msSQL syntax so that I can then use that to just create my msSQL database. I have had no such luck, though I could find a bunch to do msSQL to mySQL. Please let me know if anyone has one or knows of one that works because I really do not want to hand port my 70 table database from mySQL to msSQL Thanks in advance, Anthony F Greco
i have dumped a mysql database to my my documents folder on my server, how can i convert this to a mssql database.
the database came from a site that was in php and of course using mysql, the database has all the users logon information and other information in there personal profile. i would like to convert this to a mssql database and connect it to the new site i am doing in .net/C#
Hi, I've been coding in C#/ASP.NET for a little while now, but I've only ever used MS SQL.I'm starting a new project at work soon, and our host provides free MySQL databases but charges for MS SQL databases. What are the pros/cons for each of these databases, and how much conversion would be required in an existing C#/ASP.NET application if I wanted to change from MS SQL to MySQL? I assume the syntax/commands to operate a C# app with MS SQL are different to the ones required to communicate with a MySQL database? I'll probably stick with MS SQL because it's what I know, but I'd like to get familiar with MySQL as it might come in handy one day.Thanks, any information is greatly appreciated.
hi,all i have a database in MySQL with approximately 1600 records that must be converted into MSSQL. There are too many converters but they are not free to download. What would you recommend me to do among several solutions like first converting to access or excel and then importing them into MSSQL etc..? Thanks all in advance.
i need a simple way to do this since im gonna need to do it every single week most probably so any help would be apreciated. if i dont have anything by monday it start coding one. Btw im using mysql 5 and SQL server express 2005
Hi! How can i convert this code to work with MsSQL 2005? /Tomas Partial Class skaalb Inherits System.Web.UI.Page
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim strConnectionString As String Dim strQuery As String Dim MyConnection As OdbcConnection Dim myCommand As OdbcCommand
Dim path As String = Server.MapPath("~/album") & "/" Dim albName As String = Trim(Replace(txtAlbum.Text, "'", "''")) Dim folderName As String = Trim(Replace(txtAlbum.Text, "'", "''")) folderName = Replace(folderName, " ", "_")
Try If Not My.Computer.FileSystem.DirectoryExists(path & folderName) Then
Hello, I'm trying to use sql to create a db, but the file the guy gave me is MySql. I tried a few things, and then I asked him to try to migrate it to MSSql for me, but it's still giving me this error:
Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 'meteor'.
Hi i have recently developed a perl/mysql application but now i need to migrate all my databases and tables from mysql to mssql can anybody explain the simplest way to do this. I already have used Mysql's migration toolkit to migrate from access to mysql does mssql have any tools like this? Please let me know
I'm converting to mssql. I've been using the following statement in a php query with mysql.
$result = mysql_query ("SELECT * FROM inks i, sample s, customer c, press pr WHERE s.JobNum like '$JobNum%' and c.CustName like '$CustName%' and pr.PressID like '$PressID%' and s.InkID like'$InkID%' and c.CustNum=s.CustNum and pr.PressID=s.PressID and i.InkID=s.InkID and s.Bindery like'%$Bindery%'"); This allowed me to select a press and/or certain paper and/or certain ink, etc. Allowed me to select any combination needed to find.
Now when I use this statement I don't get any results. I have the following which works if I select items in all categories, but that isn't always possible. I need a wildcard selection if we don't know or don't care what press it was run on or what paper was run on a press or what ink was used to print, etc
$result = mssql_query ("SELECT * FROM text t, cover cv, sample s, customer c, press p WHERE (s.PressID like '$PressID' and p.PressID = s.PressID and c.CustNum=s.CustNum and t.TextPaperID=s.PaperTextID and cv.CoverPaperID=s.PaperCoverID) and (s.PaperTextID = '$TextPaperID' and t.TextPaperID=s.PaperTextID and p.PressID = s.PressID and c.CustNum=s.CustNum and cv.CoverPaperID=s.PaperCoverID) and (s.PaperCoverID = '$CoverPaperID' and t.CoverPaperID=s.PaperCoverID and p.PressID = s.PressID and c.CustNum=s.CustNum and cv.TextPaperID=s.PaperTextID) order by CustName");
I'm developing website for online test/assessments and I want to know what database is best for my project between Mysql and MSsql. There will be a lot of users writing concurently/ similtaneously to database.
I am looking for a function in MSSQL that performs similar to the LIMIT function in MySQL. Here is the LIMIT function's definition:
The LIMIT clause can be used to constrain the number of rows returned by the SELECT statement. LIMIT takes one or two numeric arguments, which must be integer constants.
With two arguments, the first argument specifies the offset of the first row to return, and the second specifies the maximum number of rows to return. The offset of the initial row is 0 (not 1):
I have to port a database from MSSQL to MySQL. I'm really a newbie with MSSQL and I need some hints on how to do this task.
I received a .bak file which my boss told me that this a backup of the database I have to port.
Then I installed MSQL 2000 developer edition on my workstation and then started playing with it.
The problem is that I don't know how to connect to the database... and with what application do some queries. In mysql I use phpMyAdmin which is really useful. Is there something similar for SQL server? Or something like sqlplus under Oracle?
Moreover how can I install the .BAK file they sent me on my MSSQL install in order to recreate the db on my workstation??
My goal is to make from time to time a (one way) replication from MSSQL server (Win2K) to MySQL (Linux, i mean no ODBC here).
Is it possible and how ?
The preferable way is to use the MSSQL's replication features, but I have another idea - a simple (php, perl - no matter) program on the linux machine which will be "cron"-ed to run at the requested time intervals.
What are your recommendings ? Thanks in advance for every kind of help.
I have been using MySQL for a long time but because of company policy changes I have started to switch from MySQL to MsSQL
OMG MsSQL is very slow with every thing it does compared to MySQL. I.e updating 300.000+) data in a table with 15 million+ records using 'update' syntax. In MySQL it was done in 4 minutes. In MsSQL it was not done in 20 minutes (and then I stoped it in anger)
I have a script that I have created to give our daily revenue. In MySQL that takes 30 sec to finish. In MsSQL it takes atleast 1.30 minutes.
I have 1,5G of memory and MsSQL uses it all. MySQL uses 200mb at most.
What am I doing wrong. Is it the memory or what can it be? I have indexed the tables in the same way. I really don't know what to do anymore.
I have a mobile application written in vb.net using MsSQL and I want to use disconnected datasets to sync up to a remote MySQL database. is this possible? Its a two way sync, i.e I download and upload info.
I'm on a team that is developing a site in PHP / MySQL. We've been asked by the client to convert the database over to MSSQL. I've never used MSSQL, but after looking at the syntax available on php.net, there really isn't all that much difference in doing basic queries. I was wondering if any of you MSSQL gurus knew of some major differences between MySQL and MSSQL that I may be overlooking.
Anything, however basic or complex, would be helpful.
Is there any way where I can add the MySQL Server as a Linked server to MS SQL server? Is there any way where I can update a table in MySQL server based because a row was updated in MS SQL server using a trigger?
Hi all! I'm trying importing a MySQL database to my MSSQL server. I've donwloaded the MySQL ODBC drivers and I can connect succesfully throught a DSN to my MySQL server. Everything works fine EXEPT my BLOB field. I'm using a BLOB field for storing a binary file.
When I choose preview while importing my bob field is empty.
Hi all.I need to set a oneway replication of some data from MSSQL (running underWindows 2000 server) to MYSQL (running under Linux).Do you have some ideas to solve the problem?Thank youLuca
Can't seem to find a similar data type in MSSQL like the one very handy ENUM type existing in e.g MySQL:
... Enum('on','off','standby') ...
It's also a convinient way to check for true/false. I'd appreciate any suggestions on possible "workarounds" or sources that might point me in the right direction.
Hi, A third party development company is creating a third party application for us in PHP and uses a MYSQL database. The app is an extension of our website which is developed in .NET and uses a MSSQL 2005 database. There are some cases where the two databases require connectivity since a few fields need to relate. We are having issues connecting the two databases on the server and after reading some forums have identified it to be a configuration issue.
I was wondering if anyone could be of any help in solving this issue, or lead us in the right direction (i.e. where to begin, forums, etc.). Here is a description and some questions from our developer:
--------------------------- We are trying to get a PHP application (.php pages running on the webserver which is the same physical machine as the MS SQL server) to connect to the database (MS SQL server). In order to facilitate this, php.ini was configured in the following manner:
mssql.secure_connection = ON extension=php_mssql.dll
We ensured that IIS/Windows was setup properly too: System32 and php both contain ntwdblib.dll ver 2000.80.194.0 enable pipe name protocol [Default was disable] enable TCP/IP IP1 [Default was disable]
MS SQL Server is set to Windows AND SQL server authentication (Mixed mode).
When the PHP application attempts to connect to the database by using: mssql_connect('localhost', '<userid>', '<password>')
produces this error message: Login failed for user 'MAILIUSR_<computername>'. (severity 14)
Why doe this occur? Why is this IUSR userid being used? the userid we sent in with PHP was a sql userid that we know works (we use it with .NET, and to connect to the database remotely). Also, why is it using the MAIL domain? In anycase, shouldn't this IUSR userid work? it's a valid windows account, and mixed mode authentication is allowed.
------------------------- Any assistance would be greatly appreciated!
Hello there..... im currently running a mysql database and i want to switch to a mssql database structure... creating the database is not a issue, but inserting values is a problem...
my forum has a lot of data and moving one row at a time is near insanity....