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

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