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

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