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

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