Тёмный

How to Reset AUTOINCREMENT (AUTOINCREMENT COLUMN ID) IN  

GABRIEL HDS
Подписаться 6 тыс.
Просмотров 25 тыс.
50% 1

▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▓▓▓▒▒▒░░░░░ OPEN DESCRIPTION ░░░░░░░▒▒▒▓▓▓
▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
hello friends, I hope you are well as always, today I bring you a new video where I explain, how to RESET THE AUTOINCREMENT ID IN MYSQL where you can sequentially put the id of the records in your database
Don't forget to support me by subscribing
--------‐-------------------------------------------- ------------------------------------------
Subscribe to my channel
-------------------------------------------------- -------------------------------------------------- -----
link of the video creation and connection of the database (CRUD) PART 1
www.youtube.co....
-------------------------------------------------- -------------------------------------------------- -----
How to Make a Login System With PHP, MYSQL and CSS (Data Validation) XAMP
you can also see:
www.youtube.co....
HOW TO REMOVE WINDOWS DEFENDER (SPEED UP PC)
www.youtube.co....
HOW TO MAKE A STRUCTURED CABLING (UTP) step by step
www.youtube.co....
HOW TO MAKE A WEB SERVER WITH ARDUINO (Step by Step
www.youtube.co....
My social networks:
Mail: email: gs59679@gmail.com
Instagram: / gabriel_fre. .

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@GABRIELHD-ING-SISTEMAS
@GABRIELHD-ING-SISTEMAS 2 года назад
Para los que no quieren eliminar datos y cambiar el ID en la misma base de datos.. el código es el siguiente. Gente, este código les servirá para resetear los id sin necesidad de perder su información. SET @autoid :=0; update nombre_de_tu_tabla set id= @autoid := (@autoid+1); alter table nombre_de_tu_tabla AUTO_increment = 1; Creditos: @Chris
@fernandomendoza9953
@fernandomendoza9953 10 месяцев назад
gracias bro me ayudo tu comando
@EdgarArceoRiveraIzquierdo
@EdgarArceoRiveraIzquierdo 10 месяцев назад
Muy bien, gracias me ayudo
@Chris-lc8iq
@Chris-lc8iq 2 года назад
Gente, este código les servirá para resetear los id sin necesidad de perder su información. SET @autoid :=0; update nombre_de_tu_tabla set id= @autoid := (@autoid+1); alter table nombre_de_tu_tabla AUTO_increment = 1;
@ADRIANCYBOR
@ADRIANCYBOR 2 года назад
Muchas gracias! me sirvió este código!!!
@luiscr710
@luiscr710 2 года назад
que grande
@davidaching1617
@davidaching1617 2 года назад
Muchas gracias por compartir la información, saludos!
@luisalfredocervantesgonzal4663
@luisalfredocervantesgonzal4663 2 года назад
Eres mi heroe.
@emmanuelxii
@emmanuelxii 2 года назад
tengo una pregunta, hay una forma para cuando elimine un registro con id "10", me vuelva a utilizar el id 10 porque cuando elimino el id 10 y ingreso nuevos datos sale id 11 y se pierde para siempre el 10
@DiegoBasanta-g6e
@DiegoBasanta-g6e 8 месяцев назад
No es necesario borrar los datos ni escribir un código mas grande, basta con colocar el mismo código
@MrJosuePilluelo
@MrJosuePilluelo Год назад
por si alguien aun no vio la instrucción SET @autoid :=0; update nombre_de_tu_tabla set nombre_columna= @autoid := (@autoid+1); alter table nombre_de_tu_tabla AUTO_increment = 1;
@j.jastbar2821
@j.jastbar2821 2 года назад
Entonces primero hago el : ALTER TABLE MiTablita AUTO INCREMENT=1; luego corrijo los ID, y así ya estará bien?? o primero corrijo los ID y luego hago el AUTO INCREMENTE=1??
@julianarturo2709
@julianarturo2709 3 месяца назад
te amo rey
@mariettagutierrez3821
@mariettagutierrez3821 2 года назад
Hola buen tarde, una pregunta no se que le movi al usuario que ahora no puedo entrar con el; como puedo solucionarlo sin perder mis datos!?
@danielhernandez1559
@danielhernandez1559 2 года назад
que buen video krnsl gracias bro
@2ItalloSantos
@2ItalloSantos Год назад
mutissimo obrigado
@andresbetancourt7703
@andresbetancourt7703 2 года назад
Gracias menor
@zzamy
@zzamy Год назад
no me funciono
@SoloEverglow
@SoloEverglow Год назад
hay manera de hacer eso sin tener que borrar toda la informacion de esa tabla?
@abcd4rio
@abcd4rio 2 года назад
y como puedo hacerlo sin tener que borrar la informacion ?
@abcd4rio
@abcd4rio 2 года назад
ya supe como te metes a Operaciones y en la izquierda esta la opcion veras por cual id va y simplemente lo cambias al id que tu quieres que comience
@Chris-lc8iq
@Chris-lc8iq 2 года назад
Como lo pudiste hacer? tengo mucha información que no quiero perder, y la primera ID que tengo es 41, quiero que comience del 1...
@abcd4rio
@abcd4rio 2 года назад
@@Chris-lc8iq te metes al apartado que dice Operaciones, Luego a tu izquierda veras la opcion unos cuadros con el ID que actuamente tienes, Simplemente borras el numero que tengas y Pones el ID que quieras que comience
@sakuzofukuda1028
@sakuzofukuda1028 2 года назад
hay un comentario arriva con la respuesta a tu duda y pone el codigo para el receteo sin borrar info
Далее
Reiniciar Id Identiy SQLServer
16:00
Просмотров 6 тыс.
Como relacionar tablas en MySQL usando phpMyAdmin
9:36
How to reset auto increment MySQL
4:50
Просмотров 2,9 тыс.
7.- Editar datos en MySQL y PHP con PHPMyAdmin.
9:55
taller mysql base de datos
18:45
Просмотров 102