Create customer

Hi,

Does anyone know what is the SQL Query for create customer?

Thanks in advance.

https://www.w3schools.com/sql/

Whilst not impossible, creating a new entity via SQL is more than just a simple insert.

Accessing the database directly to write can cause a whole lot of unrecoverable problems.

Please don’t take this the wrong way, but the fact that you are asking is a reason to not be touching the database directly.

Once you’re comfortable with SQL/T-SQL and have an in-depth knowledge of the database schema, then you can begin to work with the database directly.

Now that that is said, what are you trying to achieve? Perhaps it’s doable via a different route.

1 Like

I’m still looking at how to do it:

There is an api for that.

1 Like

You can use same api to check if it exists already first.

1 Like