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

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