Useful tips for everyday
What is the recommended batch size for SqlBulkCopy? But when I tested for batch sizes between 100 and 10,000, I found that 500 was the…
What is default instance and named instance? A named instance is identified by the network name of the computer plus the instance name that you…
How do I set up multiple listeners? Creating Multiple Listeners Tips LISTENER1 = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) LISTENER2…
How do you update a table in SQLite? SQLite Update First, specify the table where you want to update after the UPDATE clause. Second, set…
Can a parent table have a foreign key? A table may have multiple foreign keys, and each foreign key can have a different parent table.…
How to sum up counts in subquery in SQL Server? SELECT COUNT(thecol) FROM thetable WHERE thecol IS NOT NULL GROUP BY thecol HAVING COUNT(*) >…
What are the different types of JSON in PostgreSQL? PostgreSQL has two native data types to store JSON documents: JSON and JSONB. The key difference…
When to use distinct option in select statement? Many people use the DISTINCT option in a select statement to filter out duplicate results from a…
How do I enable SQL Server database user? Remove the check box under Deny and Click under Grant to Enable the Database user. The user…
How is a memory optimized table stored in memory? A memory-optimized table variable: Is stored only in memory, and has no component on disk. Involves…