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

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