Viewing 15 posts - 15,511 through 15,525 (of 18,923 total)
Looks like my font was wrong :
3) Listen to Noeld and try to find a set based approach for this.
What is the goal of that stored proc?
July 7, 2005 at 9:16 am
declare @id
exec usp_addtest 'bob', @id output
July 7, 2005 at 9:06 am
There's less irrelevant (in this case) information in sp_helpindex
.
July 7, 2005 at 9:05 am
I suggest you immediatly fameliarize yourself with sp_who2, sp_lock and dbcc inputbuffer(spid), you're gonna need it.
July 7, 2005 at 9:03 am
Don't come back running here when it fails. ![]()
July 7, 2005 at 8:59 am
Or a best version to rule out the query completely :
exec sp_helpindex 'TableName'
July 7, 2005 at 8:58 am
And maybe the developpers who dare to work with that... unless they have no other choice.
July 7, 2005 at 8:54 am
Change the function
from
AND XType NOT IN (34,35)
to
AND XType NOT IN (34,35,36)
July 7, 2005 at 8:53 am
If you don't have any row in SysObjects of type PK, then you have no primary key in that database, you could also extend the search to 'UQ' for...
July 7, 2005 at 8:51 am
As I said, research only for procedural approach when no set based approach exists (or works at reasonable speed). Sometimes it's faster to use a cursor, but it's just...
July 7, 2005 at 8:46 am
You can always do this :
Dim MyForm as Access.Form
set MyForm = Application.Forms("FormName")
MyForm.FkClient = SomeValue
...
July 7, 2005 at 8:34 am
while (@id is not null)
begin
select @id = min(id) from table where id > @id
Update Table set SomeField =...
July 7, 2005 at 8:33 am
Viewing 15 posts - 15,511 through 15,525 (of 18,923 total)