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

Forum Replies Created

Viewing 15 posts - 556 through 570 (of 2,527 total)
  • Author
    Posts
  • in reply to: Csv Import Problems #19540
    Ritesh
    Member
    Quote:
    This must be because SQLyog internally adds singlequotes (and not doublequotes) around the strings processed ??

    Can you provide the corresponding SQL statement that works?

    You dont need to escape as the following query works:

    Code:
    load data local infile 'C:/Documents and Settings/Ritesh/Desktop/racetest.csv' into table `test`.`racetable` fields escaped by '\' terminated by ',' enclosed by '”' lines terminated by 'rn' ( `racecode`, `racedsc`, `racetot` )

    You only need to escape and ' 😀

    in reply to: Sja For Linux Dying #19558
    Ritesh
    Member

    How many rows are there in your database?

    If you have lot of columns with BLOB data then it will take some time to generate checksums that is required for comparison.

    in reply to: Bug: Structure Synchr. Disregards Case #19549
    Ritesh
    Member

    More food for thought:

    http://dev.mysql.com/doc/refman/5.0/en/nam…ensitivity.html

    If you read the docs, case sensitivity applies only for database and table names and not for column names.

    Quote:
    The columns t and T were synced as were U and u. The should not!

    Its correct as columns are not case-sensitive.

    in reply to: Bug: Structure Synchr. Disregards Case #19548
    Ritesh
    Member
    Quote:
    Maybe those issues would solve themselves more or less with SQLyog 4.3 that would compile with a Unicode codebase?? As long as SQLyog uses ANSI internally there is no chance to fix it I guess! At least not worth spending time with in the 4.2 tree! But should have attention

    This is not a UNICODE issue but rather a bug with SQLyog. We never considered the issues relating to case-sensitivity between Linux and Windows boxes.

    I will try to setup a MySQL server on my Linux box and work on all the cases. Should not take us more then 1 day to fix all the crash issues.

    Quote:
    Just found that the two fields memberID and MemberID is considered the same in the structure synchronization.

    I have added this in the TO-DO list but I cannot guarantee the version which will have the fix.

    in reply to: Csv Import Problems #19536
    Ritesh
    Member

    Nope.

    This requires complete understanding of the issue. We are planning to overhaul the CSV Export/Import system to make it more intuitive. It seems that there are quite a number of issues that we never thought of.

    in reply to: Csv Import Problems #19533
    Ritesh
    Member

    I think you got it wrong. You will need to the escape character values with whereever required.

    Attached screenshot will help in understanding the solution.

    The settings will then generate the following query:

    Quote:
    load data local infile 'U:/racetabl.asc' into table `fsbo`.`racetable` fields escaped by '\' terminated by ',' optionally enclosed by ''' lines terminated by 'rn' ( `racecode`, `racedsc`, `racetot` )
    in reply to: Csv Import Problems #19531
    Ritesh
    Member

    I understand that this is little confusing. I have added this in the TO-DO list. We plan to work on the CSV Export/Import feature to make it more intuitive.

    in reply to: Csv Import Problems #19530
    Ritesh
    Member

    I think I got the problem 😛

    Your query says:

    Quote:
    load data local infile 'U:/racetabl.asc' into table `fsbo`.`racetable` fields escaped by '\' terminated by ',' optionally enclosed by ''' lines terminated by 'rn' ( `racecode`, `racedsc`, `racetot` )

    It should be:

    Quote:
    load data local infile 'U:/racetabl.asc' into table `fsbo`.`racetable` fields escaped by '\' terminated by ',' optionally enclosed by ''' lines terminated by 'rn' ( `racecode`, `racedsc`, `racetot` )

    You need to escape ' with '

    in reply to: Feature Request: Reordering Fields In Alter Table #19546
    Ritesh
    Member

    The TO-DO list is not publicly available.

    in reply to: Csv Import Problems #19524
    Ritesh
    Member

    You can mail me the csv file at [email protected].

    in reply to: Csv Import Problems #19523
    Ritesh
    Member
    Quote:
    Does the location of the file affect importing?

    Yes.

    SQLyog uses MySQL's internal LOAD LOCAL INFILE command to import data from a CSV/DELIMITED file.

    If you check the HISTORY tab, you will see the corresponding SQL statement. Can you paste the SQL statement out here? Make sure that the path provided in the SQL is correct.

    BTW, are you using HTTP Tunneling?

    in reply to: Bug: Structure Synchr. Disregards Field Order! #19543
    Ritesh
    Member
    in reply to: Feature Request: Reordering Fields In Alter Table #19544
    Ritesh
    Member

    Sturcture sync does not support reordering columns. This feature is already in the TO-DO list of SQLyog.

    You can use Tables -> Reorder Columns to reorder the columns using SQLyog GUI.

    in reply to: Autoincr Don' Work In 'strict Mode' #19515
    Ritesh
    Member

    Thought provoking.

    in reply to: Autoincr Don' Work In 'strict Mode' #19512
    Ritesh
    Member

    I was researching on this strict mode issues yesterday night. It affects various options of SQLyog in varying degree of importance.

    Data tab seems to be the most important one. Before taking a shortcut method, we need to decide how to handle NULL and EMPTY STRINGs. We also need to know how different column types behaves in STRICT MODE specially with and without default values.

Viewing 15 posts - 556 through 570 (of 2,527 total)