Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/offic…
Update Query Error - social.msdn.microsoft.com
SQL is orthogonal, so you can use any predicate where you can use any other predicate. --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking in Sets ...
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/en-US…
C# vs. PL/SQL performance difference? - social.msdn.microsoft.com
Unless your queries are very veyr poorly written, C# doesn't stand a chance in performance. I would recommend reviewing some articles on query optimization to get the optimal result.
Global web icon
microsoft.com
https://social.msdn.microsoft.com/Forums/en-US/d07…
sql query to separate the semicolon - social.msdn.microsoft.com
Premature optimization is the root of all evil in programming. (c) by Donald Knuth Naomi Nosonovsky, Sr. Programmer-Analyst My blog Marked as answer byKJian_Friday, December 24, 2010 6:01 AM Sunday, December 19, 2010 12:59 AM 0 Sign in to vote
Global web icon
microsoft.com
https://social.msdn.microsoft.com/Forums/sharepoin…
How to add extra row as header to sql query pivot table
How to add extra row structure to SQL query pivot table using sql server 2012 ?
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/secur…
Linked Server to IBM iSeries - social.msdn.microsoft.com
The OLE DB initialization service failed to load. Reinstall Microsoft Data Access Components. If the problem persists, contact product support for the OLEDB provider.Cannot create an instance of OLE DB provider "IBMDASQL" for linked server"DB2". Here is what is executed by Tidal: bcp "select * from EU.NEW_LIST_EXPORT" queryout "C:\Junk\Results.txt" -S "NYCONSQLP3" -d DISCO1 -T -c -t"|".txt ...
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/sqlse…
Impact of creating a non-clusterd index on a huge transaction table?
Also if possible create clustered index. One more option, you can horizontally partitioned the table and move data to multiple filegroups. Based of range of data your query performance also improve a lot. To apply partition for existing table, you should take backup and recreate from scartch.
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/sqlse…
Concatenate nvarchar (max) with nvarchar (max) yields null
I tried to concatenate two nvarchar (max) fields but the column came out being null. What is the recommended solution?
Global web icon
microsoft.com
https://social.msdn.microsoft.com/Forums/sqlserver…
Group By Select Top 1 Rows - social.msdn.microsoft.com
However, if you are trying to get the top 1 SHGMemberId for each SHGId group modify this query with your fields and tables and should return the results you need (using temp table). SELECT t.state, t.stor_id, t.stor_name, SUM (s.qty) 'TotalSales' ,ROW_NUMBER () OVER (PARTITION BY t.state ORDER BY SUM (s.qty) DESC) AS 'Rank' INTO #TEMP
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/sqlse…
Update statement on PAGEIOLATCH_EX - social.msdn.microsoft.com
A update statement is running on a table which has 250 million records. This update process is running for long time with wait_type "PAGEIOLATCH_EX". Wait_resource is changing continuously and it is reading the Index file. SQL SERVER : Microsoft SQL Server 2016 Developer Edition (64-bit) Server RAM : 32 GB SQL Server Maximum Server Memory : 21 GB
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/en-US…
how to get data between two dates from sqlserver
It may be something to do with the formatting. Format 103 returns dd/mm/yyyy. you converted to string and searching between two strings. is that make sence. you are not searching the date between the dates.....for that reason your query not returning results. convert that to date and run you will see your records.