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

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