Viewing 15 posts - 4,066 through 4,080 (of 5,109 total)
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 17, 2017 at 10:43 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 17, 2017 at 8:47 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 17, 2017 at 8:38 am
I'm not even going to try and defend my English. I live in England, always have, and English is my only language. I, however, know all to well that I...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 17, 2017 at 8:10 am
Use the OUTPUT statementUPDATE Table1
SET Count = 0
OUTPUT inserted.* --Or list your columns, i.e. inserted.CustomerName, inserted.Postcode, etc, etc
INTO #Output
FROM Table1 AS T1 JOIN...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 17, 2017 at 7:05 am
I would go with a staging table, and upload the contents on your CSV file(s) to it. SSIS can do this part using a data flow task more than easily. Thom~ Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 17, 2017 at 4:46 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 10:49 am
I think what you're after here is a CROSS APPLY, so you can limit your result that way.
This is untested, however, instead of your INNER JOIN to [CustomerBrokerView]...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 10:37 am
We need it in a consumable format, please. Have a look at the link in my signature on how to achieve this.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 10:04 am
Pretty sure SQL Server 2005 supports CTE's as well. Been using them for...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 10:00 am
The screenshot doesn't show where the data is coming from, so all we can do is guess.
If you supply DDL and consumable sample data that shows the...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 9:40 am
sqlnewbie17 - Thursday, March 16, 2017 8:45 AMI need this to work across all SQLVersions
How far back in versions are you going...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 8:57 am
An Auto incrementing foreign key? What is your goal here?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 4:47 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 4:36 am
Without consumable Sample data or DDL, here's something to get off your feet:WITH ServerList AS (
SELECT {Your Columns},
ROW_NUMBER() OVER (PARTITION BY...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 16, 2017 at 3:46 am
Viewing 15 posts - 4,066 through 4,080 (of 5,109 total)