Useful tips for everyday
How to get DDL from DBMS metadata script? You can get any package’s get ddl ( create script ) as follows. SQL> SELECT DBMS_METADATA.GET_DDL (‘PACKAGE’,’OBJECT_NAME’,’SCHEMA_NAME’)…
How do I create a pivot table from a query? Create Pivot Columns Using Power Query Editor Step 1: Select the column in Power Query.…
How are indexes used in MongoDB data structure? Indexes are special data structures [ 1] that store a small portion of the collection’s data set…
Can SQL Server 2012 run on Windows Server 2008? 1 Answer. Yes, you can install SQL Server 2012 on Windows Server 2008 R2 (the matrix…
Can I upgrade SQL Server 2012 Standard to Enterprise? SQL Server 2012 Upgrade from Standard Edition to Enterprise… Step 1- Identify SQL executable file ,…
How does commit work in Postgres? Commit: Commit is used in PostgreSQL to save any changes in the database, which the user made. Commit is…
How to check if a table exists in SQL Server? Here, we check whether a table exists in SQL Server or not using the sys.Objects.…
How does SQL Server measure IOPS? Determine your IOPS and throughput requirements Disk reads/sec + disk writes/sec = IOPS. Disk read bytes/sec + disk write…
How do you rename the columns of a table? To rename a column using Table Designer In Object Explorer, right-click the table to which you…
How do I query across multiple servers? In SQL Server Management Studio, on the View menu, click Registered Servers. Expand a Central Management Server, right-click…