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