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

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