Casiva Agustin

Engineering, Development and IT Management

Hi there! 👋

I’m Agustin Casiva, I’m a Software Engineer from Argentina.

I have been working on IT for many years now, I worked in many fields of the industry, such as hardware support, networking, sysadmin but what I do love most is development.

I have worked for many organizations, public and private, local and remote, filling many roles.

My expertise is on Web Development, Linux, Open Source, CMSs, HTML, CSS, PHP, JavaScript, Backend Development, Product Development, Project Management, Team Leading, among others.

In 2013 I have founded 42mate, a Web Development Agency focused on the design, development, maintenance of Web Apps. I still work on 42mate where I work leading development teams and scoping new projects.

Besides 42mate I also work as an independent consultant where I provide services such as

  • Development Training, for individuals or teams.
  • Architecture Design and Review.
  • Tech Advisor for non tech startup founders.
  • Tech Advisor for Digital Design Agencies.

If you are interested on my services let’s talk!

More about me

Borrando los datos de una tabla en MySQL

Si hablamos de borrar lo primero que se te viene a la cabeza es el DELETE de SQL. Bueno, si queres borrar todo y encima queres reiniciar los numeros de secuencia (los contadores para lo autoincrement), lo mejor que podes hacer es un TRUNCATE.

Esta sentencia esta disponible en varios otros RDBMS, PostgreSQL seguro, lo que hace es limpiar todo el contenido de la tabla sin pedir permiso ni dar mucha vuelta, lo hace en cuestión de segundos sin importar el tamaño de la tabla.

Básicamente la sentencia es

TRUNCATE nombre_de_la_tabla;

Pueden ver mas info del tema en este enlace http://www.electrictoolbox.com/article/mysql/delete-all-data-mysql/

Leave a Reply

Your email address will not be published. Required fields are marked *

*