Explain Codes LogoExplain Codes Logo

Sql

Is there an advantage to varchar(500) over varchar(8000)?

sql
data-integrity
performance-optimization
database-design

Compare dates in T-SQL, ignoring the time part

sql
date-comparisons
sql-performance
best-practices

Sql Server 2005 - Export table programmatically (run a .sql file to rebuild it)

sql
data-integrity
sql-server
export-import

Sql - Search String Starts With

sql
sql-injection
query-efficiency
full-text-search

Best way to delete millions of rows by ID

sql
database-optimization
performance-tuning
data-management

Display an array in a readable/hierarchical format

sql
data-hierarchy
sql-functions
data-formatting

How can I reorder rows in SQL database

sql
database-management
sql-queries
data-organization

Postgresql Get a random datetime/timestamp between two datetime/timestamp

sql
performance
best-practices
timestamp

Oracle: SQL query to find all the triggers belonging to the tables?

sql
trigger-management
sql-queries
database-administration

How to create a new database with the hstore extension already installed?

sql
prompt-engineering
best-practices
data-types

Pl/sql block problem: No data found error

sql
exception-handling
best-practices
debugging

How do I select a 1 as a bit in a sql-server view?

sql
prompt-engineering
best-practices
performance

Mysql: ERROR 1215 (HY000): Cannot add foreign key constraint

sql
foreign-key-constraints
data-integrity
database-performance

Postgresql GROUP BY different from MySQL?

sql
group-by
postgresql
mysql-comparison

Entity Framework error: Cannot insert explicit value for identity column in table

sql
entity-framework
database-design
best-practices

Sql Query If Parameter Is Null Select All

sql
null-handling
database-performance
sql-optimization

Error message: (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)

sql
sql-server
connection-protocol
authentication

Column calculated from another column?

sql
best-practices
performance
join

Sql Server equivalent to Oracle's NULLS FIRST?

sql
best-practices
data-manipulation
sql-server

Does it make sense to use an index that will have a low cardinality?

sql
index-usage
performance-benefits
database-optimization