Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Insert into not working in Query Template

$
0
0

Hi All,

 

I am using SAP MII 14.0 SP4 patch 2. Most of my queries are calling the Store procedures. But my store procedures are not executing. The reason behind this I found , it was using "Insert Into statements". I tried the below query

 

1. declare @TempTable TABLE (

ID int,

Date datetime,

Name char(20))

INSERT INTO @TempTable (ID, Date, Name)

SELECT '1' as id, '2104-Mar-10' as Date,'par' as name

 

select * from @TempTable

 

 

2. Create table #TempTable  (

ID int,

Date datetime,

Name char(20))

INSERT INTO #TempTable (ID, Date, Name)

SELECT '1' as id, '2104-Mar-10' as Date,'par' as name

 

select * from #TempTable

 

but this also not working. Can you please suggest me the solution?

 

 

Regards

G.Partheeban


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>