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

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