Language : sql

Title User Language Tags Description Date
Bulk insert/upload microsoft sql server (csv) dego89 SQL

Bulk upload a CSV into Microsoft SQL Server

May 17
Oracle SQL Spool Schema Name in Filename geekzspot SQL

Capture the name of the current Schema (aka User or Account) as part of the SPOOL Output filename

May 15
Oracle Schema DB Stats geekzspot SQL

Run DB Stats for your Schema

May 15
Oracle Automatic DB Stats geekzspot SQL

Since Oracle 11g statistics are gathered automatically by default. You can see for yourself:

May 15
Oracle DB Stats geekzspot SQL

Run Oracle Database Statistics

May 15
Oracle Show my GRANTs and Privileges for an Object geekzspot SQL

-- Show me what GRANTs and Privileges I have on an object, such as a Table, View, Sequence, Stored Procedure

May 15
Oracle Database Parameters geekzspot SQL

See database settings. Client will override Database.

May 11
Oracle Client Date Timestamp versus Database Server Date Timestamp geekzspot SQL

Maybe your Client ins in one Time Zone, and your Database Server is in an0ther?

May 10
Convert Oracle TIMESTAMP Column from one Time Zone to another geekzspot SQL

Convert Oracle TIMESTAMP Column from one Time Zone to another.

Here we convert UTC (aka GMT) to MDT (Mountain Time Zone of North America)

May 10
Oracle Table Rows geekzspot SQL

Get the Number of Rows in all your Tables

May 10
Show Oracle Parameter value geekzspot SQL

Here for example we show the default NLSLENGTHSEMNATICS Parameter

May 8
Oracle Change Data Type for all Columns geekzspot SQL

You might want to change all VARCHARs from BYTE to CHAR?

May 8
Oracle change Column Datatype geekzspot SQL

Maybe you want to change BYTE to CHAR? Maybe you want to go BIGGER?

May 7
Oracle Truncate All User Tables geekzspot SQL

Can be run as SQL or Create as a PL/SQL Procedure

May 4
Oracle Move a Table to another Tablespace geekzspot SQL

To move a Table to another Tablespace, its Index must be rebuilt!

May 4