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

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