🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-sqlserver
Article #51

pls help with execute command

#51
From: Alan Weiner
Date: Mon, 21 Jul 1997 00:00
17 lines
1178 bytes
when the following is in my .idc file:
   sp_theproc @idc,'%p0%','%d0%','%s0%','%h0%','%q0%'

the sp_theproc procedure works fine.  If however the above string is 
placed the variable @cmd and I do:

exec(@cmd)

I get 'function sequence error'

Any idea what's going on there and how I can use the string/execute 
method to call this function? 
-- 
-----
In order to reply to this email, please remove the last four
characters in the email address...
Technical Details
Message-ID: <5quf9e$lik@clarknet.clark.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 12c391,537355acad2a843a,start
X-Google-Attributes: gid12c391,public
X-Google-Thread: 11301e,537355acad2a843a,start
X-Google-Attributes: gid11301e,public
X-Google-Thread: 104de1,537355acad2a843a,start
X-Google-Attributes: gid104de1,public
X-Google-Thread: 11355a,537355acad2a843a,start
X-Google-Attributes: gid11355a,public
From: alweiner@clark.net.com (Alan Weiner)
Subject: pls help with execute command
Date: 1997/07/21
Message-ID: <5quf9e$lik@clarknet.clark.net>
X-Deja-AN: 257904455
Organization: I hate spam!
Newsgroups: comp.databases.ms-sqlserver,microsoft.public.sqlserver.programming,bit.listserv.sqlinfo,bit.databases.msql-l