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

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