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

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