Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how we can store the value like that 001,003,023 etc in sql
server 2005

Answer Posted / gopi muluka

Using Character Datatypes
See this
CREATE TABLE NumAsVar (Num VARCHAR(50))
INSERT INTO NumAsVar VALUES ('001')
INSERT INTO NumAsVar VALUES ('002')
INSERT INTO NumAsVar VALUES ('021')

SELECT * FROM NumAsVar

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about analysis services?

1051


What are drillthrough reports?

155


How to update muliple row in single query?

1060


How you trouble shoot when any job fails

1937


What is triggers in ms sql server?

1119


can a database be shrunk with users active? : Sql server administration

1011


How do we know if any query is retrieving a large amount of data or very little data?

976


why would you call update statistics? : Sql server database administration

1089


Why truncate is ddl command?

1067


What does it mean to manipulate data?

993


Describe different Processing Modes offered by SSRS?

248


Which trace flags are enabled in sql server?

1020


How to verify a login name with sqlcmd tool?

1221


What are the reporting services components?

142


What is ms sql server reporting services?

1057