Quantcast
Channel: Art Of Creation - Dynamics AX Blog » SQL
Browsing all 5 articles
Browse latest View live

Delete an AX company on SQL

This week, we were shrinking a database of a development environment by deleting some companies. Here a nice little SQL statement that uses the sp_MSforeachtable stored procedure to delete all records...

View Article



Rename an AX company on SQL

A while ago, I talked about deleting an AX company on SQL, but of course, you can also use the sp_MSforeachtable stored procedure to rename a company (= change the DataAreaId of a company). In the next...

View Article

Image may be NSFW.
Clik here to view.

Split and Add ranges on datasource

When creating a query and adding ranges, you might notice that there is a limit on how the range string can be. This limit is defined by the extended data type Range that you can find in the AOT. You...

View Article

Executing direct SQL statements

Hi everyone, Today I want to talk about executing SQL statements in X++ on both the AX database and external databases. This is something probably every AX developer will have to do at some point....

View Article

Linked server sql statements

Hi all, hope you are well. Some time ago, I talked about executing direct sql statements, and now I want to share some sql statements that I used to manage linked server connections. What follows are 4...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images