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

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