HomeНаука и техникаRelated VideosMore From: Alper KIZILGİL

Autoincrement primary column in PostgreSQL

91 ratings | 38101 views
Autoincrement primary column in PostgreSQL
Html code for embedding videos on your blog
Text Comments (17)
Джеймс Бонд (8 months ago)
Начиная с 9.5 вы пойдете нахуй к огорчению по этой аннотации
Roman Roman (1 month ago)
Burak Candan (1 year ago)
Teşekkürler, çok faydalı bir paylaşım.
Ménélas (1 year ago)
Thank you!!
Chil (1 year ago)
I have no type "serial" in PGADMIN
wSpalony (9 months ago)
make it bigserial or smallserial. I think they updated serial to those types
Samir GHASSANE (2 years ago)
Brandon Clapp (2 years ago)
The reason this works is because you made the PK a Serial data type, correct? This method will not work with integer or bigint? I think you have to actually add a "Sequence" to make an auto increment key on those data types.
Antonio Gregorio (2 years ago)
thank you!
Léopold Roitel (2 years ago)
Are you fucking kidding me. So much for a simple functionnality.
Paul Bourne (2 years ago)
edza345 (2 years ago)
So basically if you make column as primary_key, pg automatically adds auto increment to it !?
Pankaj Garg (3 years ago)
Not able to clearly some part of the Video. It's fade in the beginning
Alper KIZILGİL (3 years ago)
+Pankaj Garg You can change quality from settings.
Thank you very much, Alper!
Klevlon Moraes (3 years ago)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.