•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 402,473 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,931 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 5746 | Replies: 1
![]() |
•
•
Join Date: Mar 2006
Location: Aussieland
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
I'm running a query through XML from the local database which uses PHPMyAdmin to a remote one which uses MSSQL.
Unfortunately I have no way of checking syntax against MSSQL so all I know is that this works in PHPMyAdmin. So the query gets as far as running, but is never successful.
UPDATE tbl_wisenet_checklist_shared SET Completed = '1', DateCompleted = '2006-03-06', StaffName = 'Ladybib Nat', Comment = 'Level 2 competencies assessed, Phase 2B (WRRI1B, WRRF1B, WRRLP2B, WRRCS3B, WRRCS2B). Clarifying questions asked to check underpinnning knowledge. Trainee is competent - assessment evidence attached. Assessment techniques used include observation, verbal questions and written assignments.T, Rang to check, Discussed results with Manager/Owner, Rest of comment' WHERE ChecklistID = 78780;
Any Ideas? :rolleyes:
Unfortunately I have no way of checking syntax against MSSQL so all I know is that this works in PHPMyAdmin. So the query gets as far as running, but is never successful.
UPDATE tbl_wisenet_checklist_shared SET Completed = '1', DateCompleted = '2006-03-06', StaffName = 'Ladybib Nat', Comment = 'Level 2 competencies assessed, Phase 2B (WRRI1B, WRRF1B, WRRLP2B, WRRCS3B, WRRCS2B). Clarifying questions asked to check underpinnning knowledge. Trainee is competent - assessment evidence attached. Assessment techniques used include observation, verbal questions and written assignments.T, Rang to check, Discussed results with Manager/Owner, Rest of comment' WHERE ChecklistID = 78780;
Any Ideas? :rolleyes:
•
•
Join Date: Jun 2005
Location: Kansas City, Missouri, USA
Posts: 344
Reputation:
Rep Power: 4
Solved Threads: 4
I'm not exactly sure what you mean by "running the query through XML". I understand that MSSQL Server has an XML method to query--so maybe you are using that....in any case....
The query you show is a valid MSSQL query--I don't see any problems with the query itself.
Do you not have any access to the MSSQL Server? If you do, you can use Query Analyzer to look at the data and test your query. Query Analyzer is a tool that comes with SQL Server. Also, the SQL Server itself will have an osql command line tool.
http://www.databasejournal.com/featu...le.php/3403331
Is this part of a solution that needs to run on a regular basis or a one-time data migration? You may find the export features of phpMyAdmin to be helpful. You can export any or all tables including structure and the data into a nice text file. That file contains ready SQL statements to create the table and insert all the data. You can execute it against your SQL server (or just the inserts).
The query you show is a valid MSSQL query--I don't see any problems with the query itself.
Do you not have any access to the MSSQL Server? If you do, you can use Query Analyzer to look at the data and test your query. Query Analyzer is a tool that comes with SQL Server. Also, the SQL Server itself will have an osql command line tool.
http://www.databasejournal.com/featu...le.php/3403331
Is this part of a solution that needs to run on a regular basis or a one-time data migration? You may find the export features of phpMyAdmin to be helpful. You can export any or all tables including structure and the data into a nice text file. That file contains ready SQL statements to create the table and insert all the data. You can execute it against your SQL server (or just the inserts).
![]() |
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- php5 and phpmyadmin?? (PHP)
- PHP 2 MsSQL (PHP)
- phpMyAdmin and exporting data. (MySQL)
- uploading .txt file via phpmyadmin to Mysql (MySQL)
Other Threads in the MySQL Forum
- Previous Thread: Appeal by shameless newbie - Mandrake 10 + MySQL 5
- Next Thread: Multiple results


Linear Mode