Quantcast
Channel: SQL
Browsing latest articles
Browse All 9 View Live

Using ‘Not Like’ in Ax X++

When you want to use wild-cards in Ax, you can write a SQL statement with a LIKE keyword 1 2 select firstonly purchTable where purchTable.purchId like '09*'; When you want to have all the other records...

View Article



Index vs Index hint

This is a discussion I had with several colleagues. What is the difference between index and index hint and what do we use in our code? There are a lot of misunderstandings about what these keywords...

View Article

Monitoring Table Size Growth in SQL Server

During my vacation I came across a older, but interesting article that shows you how you can monitor table size growth in SQL-server. With a bit of creativity you can create interesting report based on...

View Article

Install Ax2012 on SQL Server 2012 RC0

During the preparations for Microsoft TechDays 2012 my colleague and I installed a fresh Windows Server 2008 R2 with SQL Server 2012 and Ax 2012. At first all seems to work (the AOS started and we...

View Article

Image may be NSFW.
Clik here to view.

Ax2012 An SQL Server 2012

Microsoft SQL Server 2012 RTM is released and hotfix 2680186 is availible for compatibiliteit with Microsoft Dynamics Ax2012. https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;2680186

View Article


Image may be NSFW.
Clik here to view.

Check SQL last restore-date

If you want to check in SQL when your databases was last restored, you can execute the script below. SELECT [rs].[destination_database_name] , [rs].[restore_date] , [bs].[backup_start_date] ,...

View Article

Image may be NSFW.
Clik here to view.

Check SQL last back-date

If you want to check in SQL when your databases was last back-upped (+ the type of back-up), you can execute the script below. this will list you everything of the last 7 days. SELECT...

View Article

Image may be NSFW.
Clik here to view.

Check SQL running processes

If you want to check the processes running on your SQL server you can find all the info you need in sys.dm_exec_requests. SELECT command, s.text, start_time, percent_complete,...

View Article


Image may be NSFW.
Clik here to view.

Finding User Sessions from SPID in Dynamics AX 2012

While check issues it could be usefull to make the link between the Ax user and the related SQL session. In the post below it is explained properly how you should do this....

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images