Using PLSQL language, Sybase uses the INSERT command to perform the record insert in your tables.

INSERT INTO [Table] ([Columns]) VALUES ([Values])

The syntax is very similar to that used in other DBMS such as SQL Server and Firebird, for example. So learn how to work with Sybase is something very simple. We will now show two examples of using the INSERT command.

INSERT INTO produtct VALUES (‘Tv’, Sony’, 1500)

INSERT INTO product (Name, Brand, Price) VALUES (‘Tv’, Sony’, 800)

In the first example the insertion of values ​​is performed without indication of the columns, but we need to emphasize that you need to know the order of the columns only this way that insertion will be executed with success. In the second example, columns are indicated and so it there are no errors in the execution of the process, with no doubt this is the best option for this command.

sybase

Sybase has become a great option for database and so it is very common to find it in web development environments. Learn more in our official page about Sybase in PHP projects.

You might also like…

What advantages for a company in adopting a low-code tool?

Let's understand how low-code tools have become a facilitator in the web development process as they...

How to implement A2F using Swivel in a Scriptcase application

I want to start talking about Swivel, Swivel is a provider of authentication solutions who have been...

Comments, tips and interactions inside Scriptcase.

Hello, here are some tips, comments and interactions about database and tools like HTML, CSS, JavaSc...

Comment this post

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.