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

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