Skip to content

Tag: sql

How to setup properties on CSV import in OrientDB?

I have a CSV file like: And I am importing it into OrientDB like: I would like to set the import so that it created properties so that FN becomes first_name, MI becomes middle_name and so on, as well as set some values to lowercase. For ex: Carolina to become carolina I could probably make this changes from t…

ERROR 1046:No database selected

I would like to create a SQL database but this error occurs I do not know why. Can somebody help me? My SQL statement: Can somebody help me? Answer Firstly you need to tell MySQL which database you would like to use to create a table: If your database does not exist yet, you have to create one: then tell

number formatting 9’999.00

I’d like to format a number in a SQL select like this How can I do this? It works for 9,999,999 with the following command Answer You are almost there. Just replace group separator (.) with a single quote (‘) and you are good to go. result: