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…

PROCESAMIENTO AJAX EN SCRIPTCASE

Ajax en los formularios de Scriptcase puede usarse para recargar un campo de tipo de select basado e...

IMPORTAR IMAGENES DE LA BASE DE DATOS Y UTILIZAR CLASES DE BOOSTRAP

Como muchas personas ya saben, Bootstrap es una biblioteca de front-end libre y de código abierto p...

TENDENCIAS DE DESARROLLO WEB PARA 2017

Usted verá en este post tendencias para 2017 en Diseño Web, en el medio digital y en el desarrollo...

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.