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

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