Resumen

Bienvenido/a. ..

Este es mi blog personal, inicialmente te invito a escuchar algo de mi musica mas abajo veras una seccion para darle play a dos canciones que tengo subidas en reverbnation.com

Adicionalmente las otras pasiones que tengo son la computación y bueno la familia obviamente... Espero que encuentres algo util en el blog... Puedes seguirme por Twitter si gusta.. @efsandino

15 octubre 2009

Los Sueños me invaden nuevamente!!

Queridos(as) amigos(as) mios... la imaginación muchas veces juega con nuestra vida... y nos creamos mundos ficticios donde no hay... pero muchos de nuestros sueños se pueden realizar, aveces no necesitamos de nadie... y otras si pero al final hay que hacer algo para no quedarse amargado(a) toda la vida...

"Aveces los sueños pueden volverse realidad con solo decirlos a la persona indicada.!"

08 octubre 2009

How To Remove Foreign Keys In MySQL

Today i have a problem when trying to delete some tables that had circular reference (one was FK NULL) but the way is that you can not drop the table until you drop the foreign key reference for example:

ALTER TABLE myTable DROP FOREIGN KEY FK_nameDefinition;

You can check for more information with the ALTER TABLE instrucction on:
http://dev.mysql.com/doc/refman/5.1/en/alter-table.html

But browsing i have find a really cool solution to drop all foreign Keys or just get the names of this
foreign keys in the following blog:

http://www.justin-cook.com/wp/2006/05/09/how-to-remove-foreign-keys-in-mysql/

I have found it in a commet by "Jason" he recommends this cool query:

select concat('alter table ',table_schema,'.',table_name,' DROP FOREIGN KEY ',constraint_name,';') from information_schema.table_constraints;

Try out... see you... MySQL still Rules !!!

02 octubre 2009

NetBeans IDE 6.7.1

Ruby is Supported on the NetBeans IDE 6.7.1 too the JavaFX the new rival for AdobeFlash. If you want to try it download from the official site: http://www.netbeans.org/downloads/index.html

ReverbNation

Twitter

Palestina Libre

Este blog apoya la causa por una Palestina libre. Basta del genocidio en Gaza.