Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Error in inserting Data

$
0
0

Hi All 

I Create Table with two Fields (ReportName , FileLocation) to insert into them the Reports Names

from Report Server Data-source 

so I use the Following Script 

USE [AX2012DB]
GO

INSERT INTO [dbo].[REPORTNAMEKEY]
           ([REPORTNAME])
     select ReportServer.dbo.Catalog.Name from ReportServer.dbo.Catalog
GO

but it give me the following Error

Msg 515, Level 16, State 2, Line 2
Cannot insert the value NULL into column 'RECID', table 'AX2012DB.dbo.REPORTNAMEKEY'; column does not allow nulls. INSERT fails.
The statement has been terminated.

How Can i Complete the Insert of Data ??

Regards.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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