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

Forum Replies Created

Viewing 15 posts - 2,056 through 2,070 (of 7,398 total)
  • Author
    Posts
  • in reply to: #28679
    peterlaursen
    Participant

    We have a releated request recorded here:

    http://code.google.com/p/sqlyog/issues/detail?id=350

    But to display data from more that one table you will need to execute a JOIN query and display will be in RESULT tab.

    in reply to: #28675
    peterlaursen
    Participant

    3) (special color setting for database objects) can be done if and only if Autocomplete is ON (what means it will need to be an ENTERPRISE feature). We cannot query the server for every keystroke, but we can (and do) query the Autocomplete database.

    in reply to: #28674
    peterlaursen
    Participant

    Also 2) is an old request. I am surprised it is not in the googlecode issue-tracker. It may have been deleted or close by mistake or maybe it was not transferred from the system we used previously.

    I have added here: http://code.google.com/p/sqlyog/issues/detail?id=1032

    in reply to: #28671
    peterlaursen
    Participant

    but don't you rather think you need a Stored Function here (that is how I understand)?

    Code:
    DELIMITER $$

    CREATE
    FUNCTION `test`.`fun`()
    RETURNS DATE
    BEGIN
    RETURN (SELECT '2009-03-22');
    END$$

    DELIMITER;

    SELECT fun();

    — returns '2009-03-22'

    in reply to: #28670
    peterlaursen
    Participant

    CALL is a *command* not a *function*, so correct syntax is

    Code:
    CALL getgamedate_test(@datum);

    and not (no ( ) after CALL)

    Code:
    CALL (getgamedate_test(@datum));

    but I admit that we do not support OUT and INOUT parameters.

    (I already added here: http://code.google.com/p/sqlyog/issues/detail?id=1030)

    Instead you could do like this:

    Code:
    SET @datum = '2008-03-22'; — only added for illustration, it can be omitted as well

    DELIMITER $$

    CREATE PROCEDURE `getgamedate_test`()
    BEGIN
    SELECT '2009-03-22' INTO @datum;
    — or what ever SELECT statement you want to use
    END$$

    DELIMITER;

    CALL `getgamedate_test`();

    SELECT @datum;

    — returns '2009-03-22'

    I do not know if anybody uses OUT and INOUT parameters except when passing one procedure call as argument to another). Anyway the OUT value is not a *result* – but we should return taht info to user too!

    in reply to: #28672
    peterlaursen
    Participant

    F5 refreshes the (active node of) the Object Browser. I think you have a valid point that there should be a keyboard option for 'refresh DATA' – or OBJECTS – (at least if DATA/OBJECT tab is visible and focus is there).

    in reply to: #28663
    peterlaursen
    Participant

    @leavy

    I simply do not get your point: “Using this product involves building a repetitive workflow (with checks). Interfering with this workflow greatly increases the risk of error.”

    ???????

    in reply to: #28667
    peterlaursen
    Participant

    I tried this

    Code:
    DELIMITER $$

    CREATE PROCEDURE `test`.`re`(INOUT parm INT)
    BEGIN
    SET parm = parm+7;
    END$$
    DELIMITER;

    SET @uservar = 6;

    CALL re(@uservar);

    It works fine. The calculaton results in @uservar = 13 what

    Code:
    SELECT @uservar

    tells! But the OUT value of the call statement is not 'picked' by SQLyog and not displayed. This is an old issue we probably almost forgot. I would consider adding this to the MESSAGES tab (“procedure test.re returned (IN)OUT parameter `parm` as 13” or something like that). Other proposals are welcome!

    Maybe the reason for your error is that the @date variable was not defined when you used it as parameter?

    Also please be specific about this error. “I got an error” tells almost nothing. Exactly what error did you get (the error no. and the error message)?

    in reply to: #28666
    peterlaursen
    Participant

    I understand that you are using OUT or INOUT parameter? Could you paste a simple example please (the output of “SHOW CREATE PROCEDURE procedurename”)?

    I am afraid we do not support OUT or INOUT parameters. However inside it you could have a “SELECT date(now());” or “SELECT something AS date FROM .. ” statement.

    But I also see you are using a 'user variable' (@date). Use variables are not returned by a Stored Procedure. You may create them or assign values to them inside or outside the Stored Procedure and no matter what you simply “SELECT @date” the retrieve the current value.

    in reply to: #28661
    peterlaursen
    Participant

    User management icons will be reintroduced in 8.05.

    in reply to: #28653
    peterlaursen
    Participant

    “so I modified SQLYog source code” This could be interesting to other users! So if you want you could attach a SVN *diff* file here!

    You are also welcome to propose a FAQ (I will then add a 'compiling' category to the FAQ).

    in reply to: #28655
    peterlaursen
    Participant

    Do you have the FLASH browser plugin installed? You will need to! Also MONyog makes extensive use of AJAX and will not work with 'old' Linux browsers (like Konqueror).

    Also please tell on what platform you are running the browser, what browser you use and maybe post a screenshot or two!

    in reply to: #28636
    peterlaursen
    Participant

    If there is only one statament in the editor that one will always execute. That was implemented sometime ago like that. If you experienced with a recent version that this did not happen I cannot explain it.

    in reply to: #28650
    peterlaursen
    Participant

    I have added this (reasonable) request here:

    http://code.google.com/p/sqlyog/issues/detail?id=1022

    It is not very complicated basically – only some considerations are required about where to have the option to play sound and where not.

    in reply to: #28648
    peterlaursen
    Participant

    If SQLyog sends this statement and the result is only received after that time, then I cannot see how it could be a SQLyog problem!

Viewing 15 posts - 2,056 through 2,070 (of 7,398 total)