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

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