Viewing 15 posts - 2,386 through 2,400 (of 2,645 total)
I suspect you need an index on one of the tables to improve the query performance.
You really need to work out which queries within the set of queries is...
June 14, 2018 at 8:42 am
Another way of writing the query:;WITH DS AS
(
SELECT DISTINCT
DS.DateKey,
DS.SafeRegionKey,
DS.Attribute3ValueKey
FROM rstore.OutputDataset...
May 17, 2018 at 6:23 am
Another way of doing it:;with myTable AS
(
SELECT *
FROM (
VALUES (1,'B-6916','SEOK'),
(2,'B-6916','SEOK'),
(3,'B-6916','SEOK'),
(4,'B-6916','SEOK'),
(5,'B-6916','SEOK'),
(6,'B-6916','SEOK'),
(7,'B-6916','NEOK'),
(8,'B-6916','NEOK'),
(9,'B-6916','SEOK'),
(10,'B-6916','SEOK'),
(11,'B-6916','SEOK')
) V(ID,...
May 17, 2018 at 5:39 am
May 4, 2018 at 8:18 am
redgate have a tool for generating test data that looks quite good. I don't know how much it costs but it would save a lot of effort.
https://www.red-gate.com/hub/product-learning/sql-data-generator/how-to-generate-various-forms-of-realistic-data-for-testing-development-and-prototypes
May 1, 2018 at 3:30 am
Misha_SQL
You might need to add System.Data to the project...
April 20, 2018 at 10:03 am
VB Script is different from normal VB, you can't declare a variable to be a type. e.g. you can't do "Dim i as integer" you just have to do: "Dim...
April 19, 2018 at 3:55 am
It look like the script shouldn't run at all.
you have you have Dim oExcel As New Microsoft.Office.Interop.Excel.Application = Nothing
then later down you have:
April 18, 2018 at 10:44 am
Working now on this link: http://www.sqlservercentral.com/articles/ADO.NET/168710/
But not the one at the top of this page (https://www.sqlservercentral.com/articles/C%23/168710/)
April 16, 2018 at 8:54 am
7. on the cloud you are using someone else's machine
March 7, 2018 at 10:36 am
Have you tried updating the FK column values to NULL before deleting the rows?
February 16, 2018 at 4:33 am
One of our systems has about 500 stored procedure scripts that need to be run on a release. To do this I concatenate all the scripts together in one file....
February 16, 2018 at 4:29 am
All other things being equal it will take longer to update the table with more columns. If only because there is going to be more disk IO in reading the...
December 17, 2017 at 10:12 am
Create Procedure sp_Truncate_Address
@DBName varchar(30) =...
November 3, 2017 at 10:57 am
Viewing 15 posts - 2,386 through 2,400 (of 2,645 total)