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