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

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