Microsoft
Software
Hardware
Network
Question : What is the matter with this stored procedure
I have this stored procedure and it is giving me a error :
Incorrect syntax near the keyword 'TABLE'.
This is the code.
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[spInsertQuestion]
@CategoryName varchar(50),
@Question varchar(350),
@Answer varchar(500)
AS
DECLARE #TempCatId TABLE
(
tCatID int
)
INSERT INTO #TempCatID(tCatId)
SELECT CatID
FROM Category
WHERE CategoryName = @CategoryName
Answer : What is the matter with this stored procedure
CREATE PROCEDURE [dbo].[spInsertQuestion]
@CategoryName varchar(50),
@Question varchar(350),
@Answer varchar(500)
AS
DECLARE @TempCatId TABLE
(
tCatID int
)
INSERT INTO @TempCatID(tCatId)
SELECT CatID
FROM Category
WHERE CategoryName = @CategoryName
Random Solutions
Which Email program was used?
Error 1073741482 upon startup
Exchnage Activesync and Android 2.0 Calendar Syncing issue
Reversing cross tab
How define combo box control source for multiple fields?
Exchange 2010 first time setup - can not send or receive email outlook 2003 outlook 2007
I have a 500 gb sata HDD that when i connect it to my laptop via USB get this error.
Create Database for freeform answers
SQL Synax to combine data in two views
DOS/4GW error while loading recovery disk