Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 21st, 2004, 11:41 PM
Authorized User
 
Join Date: Oct 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kiwibey
Default what data type in sql server

hi, everybody.
i'm beginner in sql server..
can anybody told which data type i should choose like memo in ms access ?
i need insert a lots of data to this field...
have autonumber fuction in sql server ??
thank you

bey
 
Old November 22nd, 2004, 12:41 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

You can use ntext or image datatypes for storing large amount of data.

Om Prakash
 
Old November 22nd, 2004, 04:10 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

You can use int/smallint/tinyint and set that as IDENTITY to have that behave as autonumber.

Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old November 22nd, 2004, 11:05 PM
Authorized User
 
Join Date: Oct 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kiwibey
Default

thank you Om Prakash and Vijay G
i'll try it later






Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL DATA TYPE Steffistella SQL Language 2 February 6th, 2007 05:11 PM
ASP-SQL Server Type Mismatched Error ghian72 Pro VB 6 1 July 24th, 2006 05:56 AM
rounding up SqlDbType.Money TYPE in sql server olambe BOOK: ASP.NET Website Programming Problem-Design-Solution 2 December 9th, 2005 04:46 PM
Help me Sql Data type ! minhtri SQL Server 2000 2 April 19th, 2005 07:53 PM
Data Type Mismatch in SQL code Teqlump SQL Language 11 September 30th, 2004 09:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.