Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Server Feedback
I haven't touched MSSS in a looong time
When a SELECT returns say 3 rows what does the feedback say ?
(eg Oracle/sqlplus says "3 rows selected")
What if "no data found", what is the feedback ?

thanks


Report this thread to moderator Post Follow-up to this message
Old Post
klara
01-20-06 01:24 AM


Re: Server Feedback
If 3 rows are returned ( / affected) sql server states (wheter you are
doing a (select / insert / update / delete)

(3 row(s) affected)

No rows "affected" ? --> (0 row(s) affected)

You can switch that off setting the SET NOCOUNT ON option.

HTH, Jens Suessmeyer.


Report this thread to moderator Post Follow-up to this message
Old Post
Jens
01-20-06 01:24 AM


Re: Server Feedback
thanks, someone told me when no data found, it shows this :

"Empty set (0.00 sec)"


true ?


Report this thread to moderator Post Follow-up to this message
Old Post
klara
01-20-06 01:24 AM


Re: Server Feedback
On 19 Jan 2006 12:21:17 -0800, klara wrote:

>thanks, someone told me when no data found, it shows this :
>
>"Empty set (0.00 sec)"
>
>
>true ?

Hi Klara,

For SQL Server? No.


SET NOCOUNT OFF
USE pubs
SELECT au_fname
FROM   authors
WHERE  au_id = '998-72-3568'
go


au_fname
--------------------

(0 row(s) affected)



--
Hugo Kornelis, SQL Server MVP

Report this thread to moderator Post Follow-up to this message
Old Post
Hugo Kornelis
01-20-06 01:24 AM


Re: Server Feedback
Huh, didn=B4t see that, perhaps you ask him where he saw that. Maybe
this as some custom front end application.

HTH, jens Suessmeyer.


Report this thread to moderator Post Follow-up to this message
Old Post
Jens
01-20-06 01:24 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:06 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006