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

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