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

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