﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 7,2000 / Strategies  / Auto generated primary key / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 03:45:01 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>Would still like to know who this "they" is.Look up identity columns in Books Online.</description><pubDate>Mon, 12 Mar 2012 13:52:53 GMT</pubDate><dc:creator>Lynn Pettis</dc:creator></item><item><title>RE: Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>That's all they ask me to do. Event I'd is an attribute in table. Which will be primary key. And now needs to be auto generated</description><pubDate>Mon, 12 Mar 2012 13:50:42 GMT</pubDate><dc:creator>dilakshan31</dc:creator></item><item><title>RE: Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>Without clearer explanations, we're not likely to have a clue either. Have you asked the teacher/lecturer?</description><pubDate>Mon, 12 Mar 2012 13:40:03 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>Its part of my project I have. I have no clue on how to do this</description><pubDate>Mon, 12 Mar 2012 13:31:29 GMT</pubDate><dc:creator>dilakshan31</dc:creator></item><item><title>RE: Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>Can you be more specific? What is the requirements for the EventID? What's it going to be used for? (if nothing, why do 'they' care about how it's generated)?</description><pubDate>Mon, 12 Mar 2012 13:25:12 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>[quote][b]dilakshan31 (3/12/2012)[/b][hr]Ok they have asked us to create a database which I have and now I need to create a table. They ask for event I'd to be unique and then ask for it to be auto generated[/quote]Who is this "they" you are talking about?</description><pubDate>Mon, 12 Mar 2012 13:23:54 GMT</pubDate><dc:creator>Lynn Pettis</dc:creator></item><item><title>RE: Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>Ok they have asked us to create a database which I have and now I need to create a table. They ask for event I'd to be unique and then ask for it to be auto generated</description><pubDate>Mon, 12 Mar 2012 13:19:33 GMT</pubDate><dc:creator>dilakshan31</dc:creator></item><item><title>RE: Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>No such thing as SQL 2003.There are many ways to generate artificial primary keys (keys that have no meaning within the data), there's also the option not to use an artificial primary keys but rather choose one of the candidate keys from the data as the primary key. Can you be a little clearer what you're asking?</description><pubDate>Mon, 12 Mar 2012 13:11:24 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>Auto generated primary key</title><link>http://www.sqlservercentral.com/Forums/Topic1265477-49-1.aspx</link><description>Ok guys, I'm a student, new to sql and really need help. How do u auto generate your primary key? I'm my case its 'event Id' note old sql. Think its 2003</description><pubDate>Mon, 12 Mar 2012 12:57:35 GMT</pubDate><dc:creator>dilakshan31</dc:creator></item></channel></rss>