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