Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 15 posts - 1,531 through 1,545 (of 7,398 total)
  • Author
    Posts
  • in reply to: How Can I Get My Old Registration Code #30520
    peterlaursen
    Participant

     If you still have free upgrades (if you purchased less than a year ago) please use our Customer Portal.  Use the email used for purchase as the ID for login.

    If this is not possible for some reason of if you purchased more that a year ago, please create a support ticket here: http://www.webyog.com/support/ttx.cgi

    (we will not discuss private details in a public Forum).

    in reply to: Bug: Cannot Update Merge Table Using Results Grid #30515
    peterlaursen
    Participant

     1) “If the MERGE table has no Primary Key, then why is SqlYog relying on that key and that key alone to update the edited row?”  It is not as there is no PK in the MERGE table.  The WHERE lists all columns for same reason.

    2) “Only 1 row gets updated in my Merge table”.  And what is the UPDATE statement from HISTORY?

    3) “my non-disclosure agreement prevents me from publishing it”.  Then please try to create a 'dummy' reproducible test case.

    4) “to include all unique index values”.  The problem is that the MERGE table has no information that this column is unique in another (MyISAM) table. Did I miss something?

    5) “SqlYog shouldn't depend on the primary key alone”.  Primary Key (or unique key on non-NULLable columns) is a unique identification of records.  That is the purpose of it really. But besides the MERGE table does not have a PK, so there is no such to use.

    6) To manage INSERTS MySQL provides a mean: (refer: http://dev.mysql.com…e-engine.html) 

    “You can optionally specify an INSERT_METHOD option to control how inserts into the MERGE table take place. Use a value of FIRST or LAST to cause inserts to be made in the first or last underlying table, respectively. If you specify no INSERT_METHOD option or if you specify it with a value of NO, inserts into the MERGE table are disallowed and attempts to do so result in an error.  But no such server side functionality exists for update”

    I think the best solution would be to ALTER the underlying tables.  Instead of having a PK on an auto-increment column only consider creating a PK based on two columns: the existing one + one more column that is constant in each table but different across tables. That will ensure that even all rows in the MERGE table are unique.

    in reply to: Multiple Files With Import External Data Tool? #30503
    peterlaursen
    Participant

    Let me reply to the last question first.  This error is returned from the ODBC driver – not from SQLyog. 

    We will provide more guidance on where to find the options in the wizard.  However you should be able to specify a *folder*and all supported files in the folder will be recognized as tables

    in reply to: Bug: Cannot Update Merge Table Using Results Grid #30513
    peterlaursen
    Participant

    “SqlYog will update the first table in the Merge table that has the same AutoInc value as the row I am editing.” Well .. It is the MySQL server that does.  To continue Khusboo's example:

    The MERGE table has no Primary Key and thus SQLyog will generate an update statement like 

    Code:
    UPDATE `merge`.`table_merge` SET `message`='blah' WHERE `a`='1' AND `message`='Testing';

    next this message will appear

    [attachment=1339:more rows.jpg] .. and that is also what happens: 2 rwos will update

    Please always paste you *exact* table definitions. Nothing more and nothing less!  

    But I think you can forget about any idea that we should consider another table when updating one table. Then every user will have some special situation that we will have to consider and everything will soon be total mess.

    General advice on how to use MERGE tables is and always was to INSERT, UPDATE and DELETE from the underlying tables and SELECT from the MERGE table.

    Additionally if you encounter failure to update please read:

    http://www.webyog.com/faq/content/29/162/en/tables-with-floating-point-datatypes-fail-to-update.html

    peterlaursen
    Participant

    It is explained here:

    http://www.webyog.com/faq/content/28/70/en/i-only-changed-one-row-of-data-but-sqlyog-wants-to-update-more-rows-in-the-database-why.html

    .. so the WHERE clause mathes that number of rows. To comment further will will need the CREATE statements for the tables as well as the (JOIN-)query you are referrring to.  

    BTW: Instead of verbose explain it is most often better to paste the SQL – it is non-ambigious and can even be imported/executed at our end.

    in reply to: Sqlyog Disappears In Taskmanager When Viewing A 'large' Table #30423
    peterlaursen
    Participant

    We know that it will crash if you display more than available memory allows for.  There is no change in this respect  between 5.3 beta and previous releases. But you do have an option to do page-wise display in both DATA and RESULT tab and that is what we recommend.

    Further action here is not priority for us at the moment. 

    in reply to: Object Browser Doesn't Grey Out Immeditaely #30497
    peterlaursen
    Participant

    I tried 8.22 and the latest beta.  None of them 'grey out' the Object Browser while executing a query.  It should not either.  

    Can you elaborate, please?

    in reply to: Bug: Cannot Update Merge Table Using Results Grid #30509
    peterlaursen
    Participant

    Also you may try to write the UPDATE statement yourself.  Does it make any difference?

    in reply to: Multiple Files With Import External Data Tool? #30500
    peterlaursen
    Participant

    I do not know what SQLyog version you are using, but since version  8.2 there is an option to apply settings to all tables with a single click.  This was actually implemented first of all to make it easy to import a large number of CSV's from one folder in one operation

    The settings you need to use are basically to 'import into existing table' and 'dont overwrite'.  Then data for each CSV will be appended to the same table (the text ODBC-driver identifies a file of supported type as a 'table').

    Did this help?

    peterlaursen
    Participant

    “Is there a way to limit the user to not being able to see individual tables in a database but still be able to perform selects on them or to disable the object browser expanding for a database?”.  It does not look so. I created a user defined as “GRANT SELECT ON *.* TO 'blah'@'localhost'” (note no “SHOW DB” privilge). And SHOW DATABASES, SHOW FULL TABLES etc. returns everything. 

    Second question will depend much on what storage engine you use.  There are 3 files for every MyISAM tables.  Hundred of thousands of open file handles will cause problems for any OS and the table cache will swap a lot I think. I think you should read this discussion: http://forums.mysql.com/read.php?21,52647,153433#msg-153433

    in reply to: Sja_Dump File Analysis? #30495
    peterlaursen
    Participant

    The dump can only be used if you have the source code and same Visual Studio version on which the program was compiled. It will have to be loaded into the VS debugging module. So please attach it here (or create a ticket). It has no inforamtion about data – only internal state of pointers, buffers and such.

    Also please try a recent version if your version is old. And tell some details about the ODBC source (what database system?, what datatypes used etc.).

    in reply to: Find Character In All Fields #30492
    peterlaursen
    Participant

    And besides I will move you to the SQLyog category!

    in reply to: Find Character In All Fields #30491
    peterlaursen
    Participant

    One thing you could try is to dump, 'search and replace' in an editor and import again.

    However problems that may occur are:

    1) dump may be too big for an editor (take one table at a time). I know that Ultraedit for instance handles very big files without being unacceptable slow.

    2) if you have binary data (BLOBs) then

    * such characters may occur in the textual display of such BLOB so here you should not 'search and replace' them of course.

    * some editors may garble HEX patterns that are not valid UTF8.  With SQLyog Enterprise/Ultimate the 'scheduled backup' has an option to set the encoding of the dump. Make it latin1  (ANSI) for this special purpose – not utf8, as all HEX patterns are valid in ANSI.

    * some editors may truncate long BLOB/TEXT/bulk inserts

    — so be careful – do not drop the original tables before you are sure that it is OK!  For instance you could 'duplicate table', next export-edit-import the duplicate. Now rename the original and rename the duplicate to the original name.

    in reply to: Wish: Edit Blob Field In External Editor #23929
    peterlaursen
    Participant

    I still don't know what options the ip-phone system has for interfacing with other programs so it is hard to tell if it is realistic. Adding the context menu item based on some condition is not hard.

    But still you should not expect us to take any such initiative. We are providing standardized software – we are not providing customized solutions.

    in reply to: #26190
    peterlaursen
    Participant

    “I am very curious, how “you” make a fast filter on 1,297,342 last names (= 1 column).”

    Well … do you have an index on `lastname` column? If not the server will need to do a full table scan.

    If you EXPLAIN that SELECT what is the return in 'possible index' and 'index used' columns.

    But maybe I did not understand?

Viewing 15 posts - 1,531 through 1,545 (of 7,398 total)