Useful tips for everyday
How do you add days and excluding weekends in SQL? Using the Code SET @addDate = DATEADD(d, @numDays, @addDate) IF DATENAME(DW, @addDate) = ‘sunday’ SET…
How do I fix a failed SQL Server 2017 installation? Launch the SQL Server Setup program (setup.exe) from SQL Server installation media. After prerequisites and…
How can I upgrade my database from 11g to 12c? Manual Upgrading Oracle Database From 11.2. 0.4 to 12.2. 0.1 Run the preupgrade tool: The…
What are Oracle Streams for? Oracle Streams provides a flexible infrastructure that meets a wide variety of information sharing needs. Oracle Streams enables the propagation…
How do you recover point in time? To restore a database to a point in time In Object Explorer, connect to the appropriate instance of…
Does insert statement lock the table? When you execute an INSERT, UPDATE, or DELETE statement, the database server uses exclusive locks. In this situation, the…
How do I find duplicates in multiple columns in Oracle? How to Find Duplicate Records in Oracle SELECT * FROM fruits; SELECT fruit_name, color, COUNT(*)…
What is a non deterministic query? An SQL statement is non-deterministic in a replication set if it does not return the same result when executed…
How to trigger and update a row in SQL Server? SET NOCOUNT ON; — Insert statements for trigger here update dbo. [121s] set modified=getdate ()…
Can a website share the same usermeta table? As a consequence, all websites which share these table will share the same users. Note: In order…