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

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