<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Workbench - SQL Browser, Editor, Refactor</title>
        <description>Forum for SQL Browser, Editor and Refactor.</description>
        <link>http://forums.mysql.com/list.php?161</link>
        <lastBuildDate>Tue, 24 Nov 2009 20:20:28 +0000</lastBuildDate>
        <generator>Phorum 5.2.1-alpha</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?161,288814,289032#msg-289032</guid>
            <title>How to calculate the total working hours of an employee from a set of records (-1 replies)</title>
            <link>http://forums.mysql.com/read.php?161,288814,289032#msg-289032</link>
            <description><![CDATA[  -- moved topic -- ]]></description>
            <dc:creator>krishna chaitanya</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Sat, 31 Oct 2009 07:54:24 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,282028,282028#msg-282028</guid>
            <title>Error to create a table with workbench (1 reply)</title>
            <link>http://forums.mysql.com/read.php?161,282028,282028#msg-282028</link>
            <description><![CDATA[ Hi everyone, did anyone can help I am migrating my workbench to mysql but I can´t create this table<br />
<br />
CREATE  TABLE IF NOT EXISTS `global`.`tblCandidato` (<br />
  `idCandidato` INT NOT NULL AUTO_INCREMENT ,<br />
  `intFechaAlta` INT NOT NULL DEFAULT today COMMENT 'Poner la fecha de su alta a GlobalMx' ,<br />
  `intVigenteHasta` INT NOT NULL ,<br />
  `txtPaterno` VARCHAR(25) NOT NULL COMMENT 'No puede estar vacío' ,<br />
  `txtMaterno` VARCHAR(25) NULL COMMENT 'Puede ser vacío' ,<br />
  `txtNombre` VARCHAR(25) NOT NULL ,<br />
  `intSexo` TINYINT NOT NULL DEFAULT 0 COMMENT '0 para hombre 1 para mujer' ,<br />
  `intEstadoCivil` TINYINT NOT NULL ,<br />
  `intNacio` INT NOT NULL ,<br />
  `txtCorreo` VARCHAR(75) NOT NULL ,<br />
  `txtPass` VARCHAR(15) NOT NULL ,<br />
  `txtAlias` VARCHAR(45) NULL COMMENT 'Seudónimo para los que no quieren que se vea su nombre' ,<br />
  `txtDomicilio` VARCHAR(140) NULL ,<br />
  `intCodigo` SMALLINT NULL ,<br />
  `txtTelefonoContacto` VARCHAR(15) NULL ,<br />
  `txtTelefonoCelular` VARCHAR(15) NULL ,<br />
  `intHorarioContacto` TINYINT NOT NULL DEFAULT 0 COMMENT '0 es diurno 1 es nocturno' ,<br />
  `intAceptaCorrespondencia` TINYINT NOT NULL DEFAULT 1 COMMENT '0 para los que no quieren recibir y mostrar su domicilio personal, solo el Código Postal y el 1 para los que aceptan' ,<br />
  `intPromoverme` TINYINT NOT NULL DEFAULT 0 COMMENT '0 para mostrar el CV, 1 no lo promueve' ,<br />
  `tblPaises_idtblPaises` INT NOT NULL ,<br />
  `txtCualidad` VARCHAR(45) NULL ,<br />
  `txtDefecto` VARCHAR(45) NULL ,<br />
  `txtPasatiempo` VARCHAR(45) NULL ,<br />
  `intCV` TINYINT NOT NULL ,<br />
  `intCartas` TINYINT NOT NULL ,<br />
  `intEstudios` TINYINT NOT NULL ,<br />
  `intExperiencia` TINYINT NOT NULL ,<br />
  `intHabilidades` TINYINT NOT NULL ,<br />
  `intIdiomas` TINYINT NOT NULL ,<br />
  `intTrayectoria` TINYINT NOT NULL ,<br />
  `intFechaActualiza` INT NOT NULL ,<br />
  PRIMARY KEY (`idCandidato`) ,<br />
  INDEX `fk_tblCandidato_tblPaises1` (`tblPaises_idtblPaises` ASC) ,<br />
  CONSTRAINT `fk_tblCandidato_tblPaises1`<br />
    FOREIGN KEY (`tblPaises_idtblPaises` )<br />
    REFERENCES `global`.`tblPaises` (`idtblPaises` )<br />
    ON DELETE NO ACTION<br />
    ON UPDATE NO ACTION)<br />
ENGINE = InnoDB<br />
COMMENT = 'Contiene la información básica de un candidato'<br />
<br />
and when I put it into my mysql I get this error.<br />
<br />
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'today COMMENT 'Poner la fecha de su alta a GlobalMx' , `intVigenteHasta` INT ' at line 3<br />
<br />
Best regards]]></description>
            <dc:creator>Abraham Segura</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Mon, 21 Sep 2009 06:09:01 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,281592,281592#msg-281592</guid>
            <title>WorkBench Query, Decimal Fields (2 replies)</title>
            <link>http://forums.mysql.com/read.php?161,281592,281592#msg-281592</link>
            <description><![CDATA[ When I run a select query, the results displayed are truncated for fields with the Decimal data type.<br />
<br />
If I run the same query in MySQL Query Browser 1.2.17, the results are displayed with the decimal place and numbers after.<br />
<br />
Any solutions would be appreciated.]]></description>
            <dc:creator>Mosin Khan</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Thu, 17 Sep 2009 15:52:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,281555,281555#msg-281555</guid>
            <title>MySQL Workbench in Ubuntu 9.04 x86_64 cant connect to DB, missing libmysqlclient_r.so (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,281555,281555#msg-281555</link>
            <description><![CDATA[ To fix this problem,<br />
sudo ln -s /usr/lib/libmysqlclient_r.so.16.0.0 /usr/lib/libmysqlclient_r.so<br />
or<br />
sudo ln -s /usr/lib/libmysqlclient_r.so.15.0.0 /usr/lib/libmysqlclient_r.so]]></description>
            <dc:creator>Kyle Chase</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Wed, 16 Sep 2009 16:32:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,281395,281395#msg-281395</guid>
            <title>MySQL Workbench 5.2.3 (ALPHA): Query Browser is Feature Complete! (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,281395,281395#msg-281395</link>
            <description><![CDATA[ WB 5.2.3 now includes a Feature Complete implementation of the next-gen MySQL Query Browser. We need your help, testing &amp; feedback! <br />
<br />
Download WB 5.2.3: <br />
<a rel="nofollow"  href="http://dev.mysql.com/downloads/workbench/">http://dev.mysql.com/downloads/workbench/</a> <br />
<br />
MySQL Workbench 5.2: Features of MySQL Query Browser <br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=229">http://dev.mysql.com/workbench/?p=229</a> <br />
<br />
MySQL Workbench 5.2: QuickTour of Query Browser <br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=230">http://dev.mysql.com/workbench/?p=230</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Tue, 15 Sep 2009 21:34:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,278950,278950#msg-278950</guid>
            <title>Worbench doesn't show SPs (5 replies)</title>
            <link>http://forums.mysql.com/read.php?161,278950,278950#msg-278950</link>
            <description><![CDATA[ Hello<br />
I gave a try to Workbench... and first thing I noticed is that there is no stored procedures listed for my database.<br />
<br />
If it alfa bug or some another limitation?<br />
<br />
I work with combo QueryBrowser/Administrator and everything looks and works as expected.<br />
<br />
Best regards]]></description>
            <dc:creator>Michal Kozusznik</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Thu, 03 Sep 2009 09:05:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,275457,275457#msg-275457</guid>
            <title>WorkBench on Mac Os X connection problem (2 replies)</title>
            <link>http://forums.mysql.com/read.php?161,275457,275457#msg-275457</link>
            <description><![CDATA[ I gon a strange mistake, when trying connect to any MySQL server from the WorkBench on Mac Os X. It say: <br />
Connection 'Server' could not be established: No bool value passed for CLIENT_COMPRESS<br />
And nothing helped, even full delete of the app with preferences.<br />
BTW i downloaded 5.2.1 and there's no bug.]]></description>
            <dc:creator>Alex Kudryahsov</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Fri, 14 Aug 2009 08:48:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,273423,273423#msg-273423</guid>
            <title>MySQL Workbench 5.2.2 (ALPHA):  Query Browser, Administrator (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,273423,273423#msg-273423</link>
            <description><![CDATA[ Download:<br />
<a rel="nofollow"  href="http://dev.mysql.com/downloads/workbench/">http://dev.mysql.com/downloads/workbench/</a><br />
<br />
MySQL Workbench 5.2:  Features of MySQL Query Browser<br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=229">http://dev.mysql.com/workbench/?p=229</a><br />
<br />
MySQL Workbench 5.2:  QuickTour of Query Browser<br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=230">http://dev.mysql.com/workbench/?p=230</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Mon, 27 Jul 2009 17:55:46 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,271984,271984#msg-271984</guid>
            <title>stored procedures (5 replies)</title>
            <link>http://forums.mysql.com/read.php?161,271984,271984#msg-271984</link>
            <description><![CDATA[ so i created some procedures throught query browser and did reverse engineer to my database in workbench <br />
my stored procedures appears as names only in routines and there is no code in it :(<br />
i search a little and try <br />
SHOW CREATE PROCEDURE 'procedure'<br />
in SQL browser to see my procedures and surprise there are no code too :(<br />
try the same query in Query Browser and there appears my code<br />
<br />
version of Mysql is 5.0.18-nt<br />
<br />
<br />
<br />
ps.<br />
sorry for my english]]></description>
            <dc:creator>Milen Simeonov</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Tue, 28 Jul 2009 05:06:22 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,271286,271286#msg-271286</guid>
            <title>Export Create Script problem (1 reply)</title>
            <link>http://forums.mysql.com/read.php?161,271286,271286#msg-271286</link>
            <description><![CDATA[ Hi,<br />
<br />
I'm new to Workbench and MySQL.  Have installed V5.1.16 on Ubuntu 9.04 with MySQL V5.0.75-0Ubuntu0.2. Designed database set to a default collation of &quot;utf8-default collation&quot; and no relationships set up (it's a simple DB for the back end of a web site).  When I run File|Export&gt;Forward Engineer Create Script... then drop the resulting script into MySQL Query Browser to create the database I see two problems:-<br />
<br />
1) Error 1064 asking me to check the syntax around line 2: SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;<br />
<br />
2) The Create Schema line is trying to set a default character set of &quot;latin1 COLLATE latin1_swedish_ci&quot; and not utf8 as initially set.<br />
<br />
Any advice on getting this working properly would be greatly appreciated.  It looks like a great tool and I'd really like to use it.<br />
<br />
Regards<br />
<br />
Craig]]></description>
            <dc:creator>Craig Stevens</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Sat, 11 Jul 2009 19:02:33 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,267839,267839#msg-267839</guid>
            <title>From Query Browser to Workbench (2 replies)</title>
            <link>http://forums.mysql.com/read.php?161,267839,267839#msg-267839</link>
            <description><![CDATA[ i used Query Browser and now used workbench. but still feel Query Browser is easier to use. maybe i havent gotten use of Workbench.<br />
<br />
am i right to say &quot;MySQL Model&quot; tab is for work in a file not directly linked to a real db in the server? actually if it is that will be better, i think so i dont need to use forward and backward engineer all the time<br />
<br />
when i use the &quot;SQL Editor&quot; tab, its now like query browser right? <br />
<br />
but by default when u dbl click a table, u get EDIT table rather than a select. why is this so? i am user select is more used than edit, which when executed is actually select<br />
<br />
for db modelling, how do i set a PK to auto_increment?]]></description>
            <dc:creator>iceangel89 LLL</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Thu, 18 Jun 2009 15:26:38 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,265316,265354#msg-265354</guid>
            <title>&amp;quot;Query Union&amp;quot; (-1 replies)</title>
            <link>http://forums.mysql.com/read.php?161,265316,265354#msg-265354</link>
            <description><![CDATA[  -- moved topic -- ]]></description>
            <dc:creator>febia kurnia</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Tue, 02 Jun 2009 07:31:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,264515,264515#msg-264515</guid>
            <title>MySQL Workbench: Query Browser - Quick Tour (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,264515,264515#msg-264515</link>
            <description><![CDATA[ MySQL Workbench: Query Browser - Quick Tour:<br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=230">http://dev.mysql.com/workbench/?p=230</a><br />
<br />
MySQL Workbench: Query Browser - Features:<br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=229">http://dev.mysql.com/workbench/?p=229</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Wed, 27 May 2009 14:58:28 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,262578,266139#msg-266139</guid>
            <title>a question about from_unixtime (-1 replies)</title>
            <link>http://forums.mysql.com/read.php?161,262578,266139#msg-266139</link>
            <description><![CDATA[  -- moved topic -- ]]></description>
            <dc:creator>Matthew Wu</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Sat, 16 May 2009 06:47:22 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,260628,260628#msg-260628</guid>
            <title>MySQL Workbench 5.2 (Alpha 1 - Linux, MaxOS, Win):  SQL Editor, Syntax Highlighting (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,260628,260628#msg-260628</link>
            <description><![CDATA[ MySQL Workbench 5.2 (Alpha 1 - Linux, MaxOS, Win):  SQL Editor, Syntax Highlighting<br />
<br />
The major new feature in MySQL Workbench 5.2 is the SQL IDE:<br />
<br />
1) Based on the Open Source Scintilla text editor  <br />
<br />
2) Full syntax highlighting and other advanced editing features.<br />
<br />
3) Edit and execute queries on MySQL servers. <br />
<br />
4) Perform live syntax checking, detecting and indicating any syntax errors in your SQL code even before executing them. <br />
<br />
5) Browse and edit the contents of individual table rows.<br />
<br />
Source code and binary packages of MySQL Workbench 5.2 OSS for Windows, Mac OS X Leopard and some Linux distributions are freely available for download at:<br />
<br />
<a rel="nofollow"  href="http://dev.mysql.com/downloads/workbench/5.2.html">http://dev.mysql.com/downloads/workbench/5.2.html</a><br />
<br />
Please keep in mind that this is a ALPHA 1 release - so, please file your bugs reports: <a rel="nofollow"  href="http://bugs.mysql.com/">http://bugs.mysql.com/</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Fri, 01 May 2009 02:15:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,259020,259020#msg-259020</guid>
            <title>forward sql create script mysql 4 compatibility ? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?161,259020,259020#msg-259020</link>
            <description><![CDATA[ Is there a way / option to ensure that a sql script produced with the forward sql create script will execute without errors on mysql 4 ? Or to set a compatibility mode ?<br />
With my last schema, the generated script is ok on mysql 5 and failed with mysql 4.<br />
<br />
Example of error (script imported via phpmyadmin 2-7-0 on remote host) :<br />
SQL query :<br />
<br />
SET @OLD_SQL_MODE = @ @SQL_MODE ,<br />
SQL_MODE = 'TRADITIONAL';<br />
<br />
MySQL :<br />
#1231 - Variable 'sql_mode' can't be set to the value of 'TRADITIONAL']]></description>
            <dc:creator>pierre mottin</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Fri, 24 Apr 2009 07:02:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,256793,256793#msg-256793</guid>
            <title>improve editor for Standard Inserts (5 replies)</title>
            <link>http://forums.mysql.com/read.php?161,256793,256793#msg-256793</link>
            <description><![CDATA[ - add the name of the table in the editor title bar<br />
- add columns resizing (for now, only the first column is resizable (v 5.0.30 SE win)) for large inserts with auto-wrap<br />
- check the inserts when using forward engineer sql create script (check data type, check for NN, ...) preventing insert statements failures]]></description>
            <dc:creator>pierre mottin</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Fri, 10 Apr 2009 10:20:55 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,240032,240032#msg-240032</guid>
            <title>editing script in SQL (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,240032,240032#msg-240032</link>
            <description><![CDATA[ Hi. I.m a newbee here.  Just want to find out how to edit a script in SQL. I did a right click on a listing and selected Modify and change but the script does not get modified.  Anyone, help pls...]]></description>
            <dc:creator>Zaidi Shamsuddin</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Sat, 27 Dec 2008 06:09:46 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,238976,238976#msg-238976</guid>
            <title>update using a sub-query (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,238976,238976#msg-238976</link>
            <description><![CDATA[ Hi,<br />
<br />
I'm trying to update a field using the result of a sub-query and i'm receiving <br />
the following error:<br />
<br />
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT T_Final.Valor_Calculado<br />
FROM<br />
    (<br />
        SELECT<br />
            T3.ID,<br />
' at line 4 <br />
<br />
Bellow is the query:<br />
<br />
UPDATE<br />
    OBJ_OPER_TOPO<br />
SET<br />
    REALIZADO = SELECT T_Final.Valor_Calculado<br />
FROM<br />
    (<br />
        SELECT<br />
            T3.ID,<br />
            (T1.REALIZADO*T2.CONTRIBUTO)/100 AS Valor_Calculado<br />
        FROM<br />
            OBJ_OPER_BASE AS T1 <br />
            INNER JOIN OBJ_OPER_TOPO_BASE AS T2 ON T2.PAR_OOB_ID = T1.ID<br />
            INNER JOIN OBJ_OPER_TOPO AS T3 ON T3.ID = T2.PAR_OPT_ID        <br />
    ) AS T_Final<br />
WHERE<br />
    OBJ_OPER_TOPO.ID = T_Final.ID<br />
<br />
Could please someone help me with this? <br />
<br />
Tks in advance<br />
<br />
Aga]]></description>
            <dc:creator>agamoto m</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Wed, 17 Dec 2008 17:54:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,236724,236724#msg-236724</guid>
            <title>Is it Possible to Run Insert Query on Workbench (1 reply)</title>
            <link>http://forums.mysql.com/read.php?161,236724,236724#msg-236724</link>
            <description><![CDATA[ Hello Friends<br />
<br />
Can I run an insert query to add rows to a table designed in workbench insted of manully typing data using 'open editor' in insert tab.<br />
<br />
Thanks &amp; Regards<br />
<br />
Anil]]></description>
            <dc:creator>Anil Kumar</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Tue, 02 Dec 2008 12:29:32 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,229113,229113#msg-229113</guid>
            <title>buggy query parser (1 reply)</title>
            <link>http://forums.mysql.com/read.php?161,229113,229113#msg-229113</link>
            <description><![CDATA[ Run: select count (*) from lflead;<br />
Gets error<br />
<br />
Run: select count(*) from lflead;<br />
Works.  <br />
<br />
Yup, the only difference is a space between “count” and “(*)”.  <br />
<br />
I am using MySQL Browser 1.2.12<br />
<br />
Too many other similar problems to list.<br />
<br />
Is there a better version or are there any other decent dev tools for MySQL?]]></description>
            <dc:creator>Stephen Polito</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Thu, 30 Oct 2008 21:01:39 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,226405,226405#msg-226405</guid>
            <title>Workbench Stored Procedure not working with date '0000-00-00' (1 reply)</title>
            <link>http://forums.mysql.com/read.php?161,226405,226405#msg-226405</link>
            <description><![CDATA[ Hi all,<br />
<br />
I'm using MySQL Workbench for some time now, together with MySQL Query Broswer.<br />
<br />
I export the SQL statements for my schema with the forward engineer... option.<br />
Then load and execute the script in MySQL Query Broswer.<br />
<br />
Today I dropped the schema and made a new one with a fresh generated script.<br />
<br />
Thing is now, that it complains about invalid date value '0000-00-00' when I execute my Stored Procedure (INSERT statement).<br />
I 'edited' (nothing changed, just chose 'edit') the stored procedure in the Query Browser and executed it again (drops and recreates it)<br />
<br />
Now it just accepts '0000-00-00' and inserts the record.<br />
<br />
So whats the difference between the script of Workbench and the Query Browser?<br />
And how do I solve this without executing it again?<br />
<br />
<br />
<strong class="bbcode"><a rel="nofollow"  href="http://members.lycos.nl/johnny1337/WorkbenchScript.sql">here's the whole script as exported by Workbench</a></strong><br />
<br />
this is the stored procedure executed again in Query Browser:<br /><pre class="bbcode">
DELIMITER $$

DROP PROCEDURE IF EXISTS `prosidex`.`SP_tblOrder_INSERT` $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `SP_tblOrder_INSERT`(
    inOrderNumber   VARCHAR(45),
    inFK_CustomerID INT,
    inFK_PaymentTypeID  INT,
    inOrderDate     VARCHAR(15),
    inLCShipmentDate    VARCHAR(15),
    inLCExpiryDate  VARCHAR(15),
    inTurnover      DECIMAL(10,2),
    inCurrency      INT,
    inCurrencyRate  DECIMAL(3,2),
    inProfit        DECIMAL(10,2),
    inInstrDasbach  VARCHAR(15))
BEGIN
  INSERT INTO tblOrder (OrderNumber, FK_CustomerID, FK_PaymentTypeID, OrderDate, LCShipmentDate, LCExpiryDate, Turnover, Currency, CurrencyRate, Profit, InstrDasbach)
  VALUES(   inOrderNumber, inFK_CustomerID, inFK_PaymentTypeID, STR_TO_DATE(inOrderDate, '%d-%m-%Y'),
            STR_TO_DATE(inLCShipmentDate, '%d-%m-%Y'), STR_TO_DATE(inLCExpiryDate, '%d-%m-%Y'),
            inTurnover, inCurrency, inCurrencyRate, inProfit, STR_TO_DATE(inInstrDasbach, '%d-%m-%Y'));
END $$

DELIMITER ;</pre>]]></description>
            <dc:creator>Guru Cus</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Sun, 14 Sep 2008 14:49:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,218311,218311#msg-218311</guid>
            <title>Change Management - Versioning your schema (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,218311,218311#msg-218311</link>
            <description><![CDATA[ Change Management - Versioning your schema <br />
<a rel="nofollow"  href="http://marksverbiage.blogspot.com/2008/07/versioning-your-schema.html">http://marksverbiage.blogspot.com/2008/07/versioning-your-schema.html</a><br />
<br />
dbRecorder:<br />
<a rel="nofollow"  href="http://www.wave2.org/w2wiki/dbRecorder">http://www.wave2.org/w2wiki/dbRecorder</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Sun, 13 Jul 2008 16:36:16 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,217442,217442#msg-217442</guid>
            <title>Query Writer (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,217442,217442#msg-217442</link>
            <description><![CDATA[ Hi I'm very happy with MySQL workbench thank you guys<br />
<br />
well I would like to find a tool similar to querybrowser<br />
but with some improvements, like a query designer this would be a powerfull tool for mysql and imagine the time we could save.<br />
other thing that I don't like about query browser is that isn't very strict with the queries so you can write queries with spaces and somethings like that.<br />
<br />
I'm very thanked with this tool it's great job<br />
<br />
Camilo Torregroza <br />
A very happy user of MySQL workbench]]></description>
            <dc:creator>Camilo Torregroza</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Tue, 08 Jul 2008 03:37:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,214645,214645#msg-214645</guid>
            <title>Workbench for OS X (1 reply)</title>
            <link>http://forums.mysql.com/read.php?161,214645,214645#msg-214645</link>
            <description><![CDATA[ When will workbench be released for OS X?  I like the look of workbench as I am used to using filemaker.  I am new to MySQL and I am looking to start development of a database but I am more graphic orientated than a programmer.<br />
<br />
Cheers<br />
<br />
Sebastian]]></description>
            <dc:creator>Sebastian Monroe</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Wed, 18 Feb 2009 10:57:32 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,208840,208840#msg-208840</guid>
            <title>Development Sugestion (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,208840,208840#msg-208840</link>
            <description><![CDATA[ I would like to sugest the development of a table graphical synonym, wich would certainly avoid the &quot;line crossing&quot; on relationships, providing a clear view on EER diagrams, for example.]]></description>
            <dc:creator>leonardo nonato</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Thu, 08 May 2008 16:04:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,205420,205420#msg-205420</guid>
            <title>Does Workbench support stored procedures? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?161,205420,205420#msg-205420</link>
            <description><![CDATA[ Is there any support for stored procedures in workbench?]]></description>
            <dc:creator>Nathan Lowrie</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Fri, 18 Apr 2008 19:28:29 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,203308,203308#msg-203308</guid>
            <title>Full scripting and plugin support with RUBY (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,203308,203308#msg-203308</link>
            <description><![CDATA[ Full scripting and plugin support with RUBY, <br />
<br />
<br />
It may not be as mature as python but its widely available and shouldn't be hard to included into workbench as one of scripting language supported..]]></description>
            <dc:creator>taylor luk</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Thu, 03 Apr 2008 00:55:29 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,201430,201430#msg-201430</guid>
            <title>Collecting ideas for MySQL Workbench 6.x-7.x Roadmap  -  SQL IDE (22 replies)</title>
            <link>http://forums.mysql.com/read.php?161,201430,201430#msg-201430</link>
            <description><![CDATA[ Hi MySQL Tools Users,<br />
<br />
I would like to start collecting ideas of what you would like to see in the MySQL Workbench 6.x-7.x Roadmap over the 2009-2010 timeframe.<br />
<br />
In the short term (April-June 2009), MySQL Workbench 5.2 will deliver a completely next-generation (developed from scratch) Query Browser.  Please think of it as an improved, extended MySQL Query Browser embedded right into the MySQL Workbench framework. <br />
<br />
Screenshots for new Query Browser:<br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=127">http://dev.mysql.com/workbench/?p=127</a><br />
<br />
My vision is to turn MySQL Workbench into a complete SQL IDE including the next generation of SQLBrowser, SQLBuilder, SQLEditor, SQLRefactor. The single tool a MySQL database developer needs to start up to do all his database work.<br />
<br />
A few key points that come to my mind.<br />
* Database schema design, creation and maintenance (already there)<br />
* Default data management (&quot;CREATE INSERTS&quot;, already there, can be improved)<br />
* Database SQL querying <br />
* Result set handling (like in QB, but improved)<br />
* Visual query builder (I liked the Oracle XE web-based query builder)<br />
* Improved SQL code editing (syntax highlighting, auto completion, ...)<br />
* Stored Procedures debugger<br />
* Full scripting and plugin support<br />
* Exchange with Netbeans IDE<br />
* ...<br />
<br />
Please add your own points here and also provide input how you would like to see the features implemented.<br />
<br />
References to other tools, e.g. Oracle SQL Developer (project Raptor), MSSQL Query Analyzer, SQLyog, ... are welcome. Please point out what you like about their querying interface and how we could improve upon that.<br />
<br />
I am looking forward to your input,<br />
Mike]]></description>
            <dc:creator>Michael G. Zinner</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Thu, 19 Mar 2009 18:26:20 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?161,201317,201317#msg-201317</guid>
            <title>MySQL Workbench - SQLBrowser, Editor: Articles, Blogs, FAQs (no replies)</title>
            <link>http://forums.mysql.com/read.php?161,201317,201317#msg-201317</link>
            <description><![CDATA[ MySQL Workbench: Query Browser - Quick Tour: <br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=230">http://dev.mysql.com/workbench/?p=230</a> <br />
<br />
MySQL Workbench: Query Browser - Features: <br />
<a rel="nofollow"  href="http://dev.mysql.com/workbench/?p=229">http://dev.mysql.com/workbench/?p=229</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>Workbench - SQL Browser, Editor, Refactor</category>
            <pubDate>Tue, 18 Mar 2008 17:57:33 +0000</pubDate>
        </item>
    </channel>
</rss>
