Showing posts with label datatype. Show all posts
Showing posts with label datatype. Show all posts

Monday, February 13, 2012

Auto Number SQL Server 2000

Hi all,

How can i generate auto Number in SQL Server 2000,like AutoNumber Datatype in MsAccess...

Thanx in advance

Sajjad

UseIDENTITY

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_create2_8g9x.asp

|||

Hi

Here is how you can do that with WebMatrix, from theGuided Tour

Using IsIdentity

Sunday, February 12, 2012

auto increment datatype

Hi,
Do we have "Auto Increment" DateType in SQLServer 2000?
Thanks for help.
Jason
Hi Jason
It's not a datatype, it's a property of any exact numeric column. Look up
IDENTITY in the Books Online
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Jason Huang" <JasonHuang8888@.hotmail.com> wrote in message
news:uOidWGJ9FHA.1420@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Do we have "Auto Increment" DateType in SQLServer 2000?
> Thanks for help.
>
> Jason
>

auto increment datatype

Hi,
Do we have "Auto Increment" DateType in SQLServer 2000?
Thanks for help.
JasonHi Jason
It's not a datatype, it's a property of any exact numeric column. Look up
IDENTITY in the Books Online
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Jason Huang" <JasonHuang8888@.hotmail.com> wrote in message
news:uOidWGJ9FHA.1420@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Do we have "Auto Increment" DateType in SQLServer 2000?
> Thanks for help.
>
> Jason
>

auto increment datatype

Hi,
Do we have "Auto Increment" DateType in SQLServer 2000?
Thanks for help.
JasonHi Jason
It's not a datatype, it's a property of any exact numeric column. Look up
IDENTITY in the Books Online
--
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Jason Huang" <JasonHuang8888@.hotmail.com> wrote in message
news:uOidWGJ9FHA.1420@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Do we have "Auto Increment" DateType in SQLServer 2000?
> Thanks for help.
>
> Jason
>

auto increment

HOW TO GIVE DATATYPE "AUTO INCREMENT" IN SQL SERVER?Add an identity column to your table.|||

Hi Kru,

Select the column whose datatype you want to be auto - increment. In the properties pane, find the IsIdentity property and set it to "Yes". optionally you can also select the Increment Seed i.e. Column value should be incremented by 1 or 2 or so on.

Jay Ho.