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

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