Explore SQL on Experts Exchange

Expert Solutions for Your Tech Problems

SQLSQL

SQL (Structured Query Language) is designed to be used in conjunction with relational database products as of a means of working with sets of data....

Read more
  • 11K Content
  • 1.1K Contributors

Expert Spotlight
SQL Server Consultant

Database Expert with 15+ years experience (SQL, Access, Power BI).

Troubleshooting Solution

Problem with Trigger insert

63
I am trying to get this trigger to insert the correct data. I seem to be losing the scope_identity …
Article

Dynamic Pivot Procedure for SQL Server

15
by Mark Wills

PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type …
Article

SQL Server Database Health Checks

An introduction article to discuss about the various Database states for troubleshooting or health check purposes. More articles will be available in this series to see how to troubleshoot each and every states described in this article.
Video
Post

So excited for SQL Server 2017. …

So excited for SQL Server 2017.
Troubleshooting Solution

Export from SQL to EXCEL with long string

bymcrmg
60
hi,

This is the code I use to export SQL output to Excel


I need to have an Excel with same number of …
Troubleshooting Solution

SQL Server Query for detecting, eliminating outliers from data set.

byrckrch
58
I am having trouble making a SQL Server query for eliminating outliers in a data set (using median …
Troubleshooting Solution

Need help creating SQL for MS Access Query

35
I need help improving the performance of a query in MS Access which takes about two minutes to run.…
Troubleshooting Solution

Need help migrating from Access to SQL Server

31
I have a number of date fields in my Access database.  In some cases I store just the date, in other …
Article
Estimate Execution time of DBCC CHECKDB

Estimate Execution time of DBCC CHECKDB

A clarification of some common doubts about DBCC CHECKDB for Database Administrators. Includes estimated times to repair database corruption's in production databases.
Post

It's interesting to see where the SQL co-creator sees …

It's interesting to see where the SQL co-creator sees similarities between SQL and NoSQL. …
Troubleshooting Solution

Need to see which columns got changed from previous entry.

bybfuchs
44
Hi Experts,

I have a table with following columns
ScheduleID long
CaregiverID int
PatientID int
VisitDate …
Troubleshooting Solution

Need help converting a MS Access query to MS SQL - Definitely need an expert for this one.

22
I need to upsize from Access to SQL as my App has become too complex for Access..
so I'm trying to …
Troubleshooting Solution

I have a sql function which I would like to see if I can produce the same results in an oracle query without using a function

48
I have this function in sql where it can determine the format of a string and would like to be able …
Troubleshooting Solution

Need to surpress meesages when  IGNORE_DUP_KEY = ON

24
I thought I had a solution to this yesterday but it turns out that indexing with  IGNORE_DUP_KEY = ON
Video
Video
Video
Video
Video

Do more with Experts Exchange.


Get Answers

Take a Class

Collaborate

Monitor your Site

Explore solutions and more