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

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