hi, all friends, how can i run sql script to get the table's data or update data to sql database

hi, i am useing nav2009, if i can run sql script to get the table’s data , or update data to database.

waiting for you sugesst.


Yes, you can get the data or update the data using sql scripts…

google sql commands like SELECT and UPDATE…

you will get the information…

All the Best…


I strongly recommend that you do not update any information if Nav from SQL as it does use the Nav validation and you may put you data out of sync.

thanks for all the suggest,

but i’m meaning to use the sql script in navision codeunit.

are you sure it is possible that execute the sql script in navision codeunit for get or update table’s data, how?


basically you could accomplish that with using MS ADO. Check this one out:

According to that I reccommend to follow this thread, too: http://www.mibuso.com/forum/viewtopic.php?f=23&t=45994