In Sybase, as well as other DBMS that using SQL how language, the DELETE command is used to delete rows in a data table.

DELETE FROM [Table]

The syntax is very simple to be learned and used, but the DELETE command must be used very carefully. Once data is deleted they can only be recovered through backup and so it is very important to analyze and use. Let two examples.

DELETE FROM sales

DELETE FROM sales WHERE year < 2001

In the first example all records will be deleted from the table sales, in second example only records with the year below 2001 will be deleted. WHERE clause is eventually necessary to delete records, but even without it the DELETE command will work and because this is necessary to pay close attention to its implementation.

sybase

Sybase has become a great option in the database and so their use is becoming increasingly common in development environments WEB. Visit our official page about Sybase in PHP projects and find out more.

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.