Viewing 15 posts - 13,831 through 13,845 (of 13,861 total)
Use 'set nocount', eg
set nocount on
select etc
...
set nocount off
Regards
Phil
June 16, 2004 at 5:29 pm
Excuse my lack of knowledge, but how do you control the method by which QA connects to a particular SQL Server instance?
Cheers.
June 4, 2004 at 1:46 am
Windows 2000. SQL Server 2000 SP3.
Cheers
Phil
June 4, 2004 at 1:13 am
Think you can do it with a UNION query – something like:
select name, max(last_seen)
from test
group by name
union
select t1.name, max(t1.last_seen)
from test t1
inner join test t2
on t1.name = t2.name
where t1.last_seen < t2.last_seen
group by...
June 3, 2004 at 11:48 pm
The sysuser_sysusergroup and sysuser tables do not even exist on my SQL Server 2000 installation – are they standard? I'm sure that I could help out if I understood the...
May 13, 2004 at 5:57 pm
Two ways spring to mind.
1) When the application sets the deleted flag to 'Y', why doesn't it set the deleted date as well as part of the same transaction? This...
May 13, 2004 at 12:44 am
Try this:
select top 10 * from information_schema.routines
where routine_type = 'procedure'
and then refine to get the fields/data you want.
May 12, 2004 at 5:38 pm
What error message do you get when the browser won't connect?
Can you still ping external addresses?
If you stop the SQL Server service, does it fix the problem ... are you...
May 11, 2004 at 1:54 am
In the interests of referential integrity, you'll probably need two delete statements. The first will delete the relevant invoice lines and the second their corresponding header records.
(Not sure quite why...
May 10, 2004 at 11:06 pm
You need to use aliases ... effectively creating two instances of the TeamList table and then using them as if you had two separate (but identical) tables ...
select team1.teamname,...
May 9, 2004 at 10:53 pm
Query Analyzer (one of the SQL Server client tools) is the standard development environment for views, stored procs etc.
Not so sure that many guys in this forum think that EM...
May 9, 2004 at 10:43 pm
If the answer to Jeff's question is that column 1 is unique and ascending (as it appears from your example), I still can't think of a quick way of doing this ......
May 6, 2004 at 1:13 am
In my opinion, it would be much tidier and easier to manage all of this if you keep all of the data in SQL Server rather than mixing your db...
May 5, 2004 at 9:29 pm
Good question and one which I've considered in the past. Seems to me that you have to limit direct access to the database (keep the only authorised users / roles...
May 4, 2004 at 1:27 am
Viewing 15 posts - 13,831 through 13,845 (of 13,861 total)