Quantcast
Channel: SQL Server Migration forum
Viewing all articles
Browse latest Browse all 1700

unexpected error reporting or converting mysql stored procedures to sql server

$
0
0

Hi there

I'm using the latest version of SSMA to convert a MySQL v5.5 database to SQL Server 2012.

The tables and functions converted fine, but I'm having issues with probably 95% of my stored procedures. I can't see what difference there is with the few that do convert.

I'm not able to create a report or convert the procs that error. I just get a message box saying 'an unexpected error has occurred'.

The underlying tables exist.

Following is one of the procedures that won't convert.

If anyone has any ideas on how to fix this I'd be very grateful for some feedback.

cheers

Steve

CREATE DEFINER=`root`@`localhost` PROCEDURE `AgentTimeRecordingGet`(
  _id int
)
BEGIN

select
    tr.agent_time_recording_id,
    a.agent_id, a.name as 'agent_name',
    tr.date,
    tr.start_time,
    tr.end_time,
    tr_break,
    tr.type,
    tr.notes
from
    agent_time_recording tr
    left outer join agent a on tr.agent_id = a.agent_id
where
    tr.agent_time_recording_id = _id;


END

 


Viewing all articles
Browse latest Browse all 1700

Trending Articles



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