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

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