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 to find number of columns in a table in sql server 2000
and 2005 also

Answer Posted / kumar.t

Select Count(Column_Name) As NoOfColumns From
Information_Schema.Columns Where table_Name='Company'

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are questions asked in TCS for database tester (sqlserver)for 2-3 exp?

5897


Does hive support indexing?

942


What is the native system stored procedure to execute a command against all databases?

1007


How to use subqueries with the in operators in ms sql server?

1052


Are null values the same as that of zero or a blank space?

1020


How to use linked server?

1161


What is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio

1118


What is buffer cash in sql server?

1138


You have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem?

986


How to start sql server browser service?

1114


What is entity data services?

1036


What is the difference between varchar and varchar(max) datatypes?

1047


How do you create a clustered index?

1034


What are the dis_advantages of stored procedures, triggers, indexes?

2202


Is INSTEAD OF trigger directly applicable to Table ?

997