Jump to content
We've recently updated our Privacy Statement, available here ×

insert into temp table doesn't work


amit.barkai

Recommended Posts

Hi All

im trying to creat an ad-hoc report with a procedure that has insert into temp table and the execution is failed

it seems the problem is with the insert into temp table becaouse event a simple procedure didnt worked

 

ALTER PROCEDURE [dbo].[ER_GetScanStatistics]
AS
      declare @aa as table  (ID int)
      
      --insert into aa values(2)
      insert into  @aa (ID) values(2)
      
      select * from @aa
get an error  nullcheck username as password , is DBMS active ?
i am using JDBC connection
thanks
 
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...