What is the datatype returned by count(*)
Answers were Sorted based on User's Feedback
Answer / gunjan sapra
The datatype returned by count(*) is INTEGER type.
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / sathishrpillai
It returns Integer data type.
since count function return the total count of a particular
fields.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / vikky
Count(*) returns number of rows(counts) available in table.
It returns Int datatype
Is This Answer Correct ? | 8 Yes | 1 No |
What is use of except clause? How it differs from not in clause?
How will you add a dimension to cube? : sql server analysis services, ssas
What are system databases into sql server (2005/2008) : sql server database administration
What are pages and extents? : SQL Server Architecture
can any one say how to update the following senario I have a table <srabank> in which the table structure is as follows ANAME ACCNO LOCATION ACCTYPE BAL SBanuPrakash 31518746291 Punganur deposit 4000 Sreenivas 31518746292 mahoobnagar current 14000 Ranjith 31518746293 Karimnagar Savings 2000 Giresh 31518746294 Chennai deposit 40000 Boo 31518746295 Chennai Savings 20000 Jay 31518746296 Valachari Savings 1000 tirumalraj 31518746297 Vellore Savings 8000 The senario is We need to select one account number and check the balance after checking the balance if the balance exist we need to transfer to another account . in the from account the amount need to be reduced and in the to account the amount needed to be added. for example for the <accountno> <31518746291> the balance is <4000> for the <accno> <31518746292> the balance is <14000> after transferring the balance the details will look as follows <accno><31518746291> <bal> <2000> <accno><31518746292> <bal> <16000> the above mentioned two statment will come under the final result.
explain different types of joins? : Sql server database administration
write the query for taking database backup in sql
10 Answers ABC, IBM, Logica CMG, MA,
can a table be moved to different filegroup? : Sql server administration
What is a functions and types in sql server?
What is difference between aggregate and analytic function?
Explain the steps needed to create a scheduled job?
Which are new data types introduced in sql server 2008?