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

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