{"id":1246,"date":"2014-05-09T08:02:15","date_gmt":"2014-05-09T08:02:15","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=1246"},"modified":"2022-02-17T07:14:03","modified_gmt":"2022-02-17T07:14:03","slug":"auto-incrementing-value","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/sql-server\/design-microsoft-sql-server\/columns\/auto-incrementing-value","title":{"rendered":"Auto Incrementing Value"},"content":{"rendered":"<p>\nUseful to set one of the columns as&nbsp;the primary key. &nbsp;To make the primary key an auto generated number create the column&nbsp;as type &#39;int&#39; then in its properties :\n<\/p>\n<p style=\"padding-left: 30px;\">\nIdentity Specification = Yes<br \/>\nIdentity Increment = 1<br \/>\nIdentity Seed = 1\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Useful to set one of the columns as&nbsp;the primary key. &nbsp;To make the primary key an auto generated number create the column&nbsp;as type &#39;int&#39; then in its properties : Identity Specification = Yes Identity Increment = 1 Identity Seed = 1 &nbsp; &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[125],"tags":[],"class_list":["post-1246","post","type-post","status-publish","format-standard","hentry","category-columns"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=1246"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1246\/revisions"}],"predecessor-version":[{"id":1613,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1246\/revisions\/1613"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=1246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=1246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=1246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}