Viewing 15 posts - 3,571 through 3,585 (of 5,356 total)
Another reread!
When the first 40 rows are marked as something, the next to be retrieved lack this mark, a simple TOP statement will work.
<pseudo SQL>
SELECT TOP 40 blahbla FROM table...
November 4, 2003 at 7:30 am
Actually I think Mike doesn't want always the same 40 records to be returned. Looks like he want some kind of 'paging'.
I'll post a link when I find it!
Frank
November 4, 2003 at 7:20 am
quote:
Is there a TSQL TOP command I can use ?
Yes, it is ![]()
November 4, 2003 at 6:15 am
In this case Paul's solution should be fine.
I thought you'd use the results (eg, the ID) for some further operations.
Frank
November 4, 2003 at 4:08 am
If you explain what you want to do with the result, we might find another work-around?
Frank
Edited by - Frank Kalis on 11/04/2003 03:44:15 AM
November 4, 2003 at 3:44 am
RECONFIGURE command can only be run by sysadmins or serveradmins.
What makes you think, the Server is reconfigured?
What happened?
Frank
November 3, 2003 at 9:01 am
November 3, 2003 at 8:52 am
Can you get hands on Inside SQL Server 2000 ?
Explains this all in depth.
Frank
November 3, 2003 at 8:22 am
Sorry, I had multiple instances running and lost track ![]()
Frank
November 3, 2003 at 8:16 am
I suggest you first take a look at BOL fill factor -> fill factor
And maybe this one will also help http://msdn.microsoft.com/library/default.asp?url=/library/en-us/createdb/cm_8_des_05_2ri0.asp
Frank
November 3, 2003 at 8:12 am
you mean something like
SELECT
table_schema, table_name
FROM
information_schema.columns
WHERE
column_name = 'MsgDateReceived'
or
SELECT
s2.name
FROM
dbo.syscolumns s1
JOIN
dbo.sysobjects s2
ON
s1.id = s2.id
WHERE
s1.NAME='MsgDateReceived'
or
SELECT...
November 3, 2003 at 7:44 am
I guess from both performance and security point of view you should go for a stored procedure.
Yes, of course, you'll have to pass your parameters to that procedure, don't worry...
November 3, 2003 at 6:21 am
quote:
When somebody proudly aligns himself/herself with an extremely arrogant person (such as Joe Celko), that suggests arrogance.
November 3, 2003 at 5:05 am
Viewing 15 posts - 3,571 through 3,585 (of 5,356 total)