Microsoft
Software
Hardware
Network
Question : How to create store procedures and pass values in SQL
I have script that uses variables. I would to save it as a store procedure and execute it anytime I want passing values to it.
I want to use the following script but have the "/", "33.50" "Center" passed to the store procedure. Here is my script to be set as store procedure:
Declare @VARIABLE1 varchar(1), @VARIABLE2 varchar(10), @VARIABLE3 varchar(20)
Set @VARIABLE1='/'
Set @VARIABLE2='33.50'
Set @VARIABLE3='Center'
select t.DOCNBR,t.ITEMNMBR,t.TRXQ
TY, i.IVIVINDX
g.actnumbr1 + @VARIABLE1 + g.actnumbr2+ @VARIABLE1 + g.actnumbr3, (g.sales * @VARIABLE2)
from InvtMast t
join InvtMast i on i.ITEMNMBR=t.ITEMNMBR
join InvtLINES g on i.IVIVINDX=g.actindx
where i.ITEMNMBR='BASK'
and t.DOCNBR=@VARIABLE3
Answer : How to create store procedures and pass values in SQL
You're on the right lines there :)
Add a root zone, a zone called "." to the DNS server in question. Then create a wildcard record (*) in that zone pointing at the IP you want.
Chris
Random Solutions
No mapping found for HTTP request with URI [/MyWeb/help/webhelp.css] in DispatcherServlet with name 'help'
Adding URL Parameter
Horizontal RSS Feed News Ticker
Powershell WMI Outlook version script permissions denied
WAN SETUP
diff between cfgmgr -v and cfgmgr -v fcs0 and fcs1...
Need reminder popups or even an email from other persons outlook calendar
Dynamic Form Element
SBS 2003 and Second DC questions
Post image file [Binary Data] using HttpWebRequest fails.