Quantcast
Channel: General Discussion
Viewing all articles
Browse latest Browse all 204

Importing Cisco Call Logs to SQL

$
0
0

Hello..  I'm trying to import our Cisco Call logs (CSV file) into SQL.  It works, but I'm getting parse errors and it's skipping multiple items; which isn't good.

The Original Called Party Numbers which aren't being imported have '#', '*', and characters in their strings (for e.g. 'b') when LogParser thinks the column is an integer.

To try and resolve this, I've tried using the TO_STRING setting (TO_STRING(originalCalledPartyNumber) as originalCalledPartyNumber), but this still doesn't work.  With TO_STRING, get "Error while parsing field originalCalledPartyNumber: Value is not a relative integer".

If I try the REPLACE_STR clause (replace_str(replace_str(originalCalledPartyNumber,'*',''),'#','') as originalCalledPartyNumber), log parser reports "Error: SELECT clause: Semantic Error: 1st argument of function REPLACE_STR must be a STRING".

Any ideas on how I can get these items imported?  Thanks..


Viewing all articles
Browse latest Browse all 204

Trending Articles