Tech Articles


Avoid Potential SQL Server tempdb log file issue when switching from Table Variables to Temporary Tables in a Stored Procedure called by a Data Window retrieval


In SQL Server it is generally a good idea to use temporary tables, rather than table variables within your stored procedures. Temporary tables perform much better, particularly with large volumes of data, as SQL Server is able to compile statistics on the data in temporary tables. However, if you are calling your stored procedures from a Powerbuilder application,  you may find that the switch to temporary tables has an unwanted side effect. Here is how the unwanted side effect comes around and what to do about it. 

https://www.selecttop.co.uk/440194269
 
https://www.youtube.com/watch?v=7QK-N6dQxNg
Comments (0)
There are no comments posted here yet

Find Articles by Tag

Web API Deployment Trial DataWindow JSON API DevOps Event Handling RESTClient Array PBNI License Graph PBDOM Windows OS OAuth Authentication C# Outlook Event Handler PDFlib SOAP CrypterObject SDK Event GhostScript Source Code PowerScript (PS) PowerServer Mobile DLL Mobile 32-bit OrcaScript DragDrop COM Database HTTPClient Window Application RibbonBar ODBC JSONParser IDE ActiveX UI Themes Linux OS PFC SnapObjects Database Table Data Branch & Merge PowerBuilder (Appeon) REST Database Profile Messagging PowerBuilder Compiler JSONGenerator Transaction SnapDevelop Database Table Schema Android CoderObject Automated Testing BLOB Variable RichTextEdit Control JSON .NET Assembly Expression PostgreSQL ODBC driver Menu Service Oracle Class InfoMaker Jenkins 64-bit PDF PowerServer Web Repository Azure File Platform Debugger PostgreSQL Web Service Proxy PBVM Interface Text TLS/SSL Resize Error SQL Server Debug Sort SVN Installation Visual Studio Elevate Conference Excel OAuth 2.0 NativePDF External Functions Syntax Bug iOS Stored Procedure DataType .NET DataStore Debugging TreeView Database Object Source Control SqlExecutor Migration Import JSON OLE WebBrowser UI Modernization TFS Database Painter Authorization CI/CD DataWindow Encryption WinAPI Import Charts Data Encoding XML Design Filter Git .NET Std Framework Script RibbonBar Builder Windows 10 Icons MessageBox Configuration Performance SqlModelMapper UI Database Table PowerBuilder Testing Model Open Source TortoiseGit SQL Export JSON Icon Validation Export Database Connection