Viewing 15 posts - 4,096 through 4,110 (of 5,109 total)
What is the Excel display format for the column...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 14, 2017 at 10:36 am
You can't set a list of values to a variable. If you want to do something for each Case ID, you'll likely need to use a cursor, and allocate the...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 14, 2017 at 10:33 am
Question, what is the following trying to achieve?DECLARE @CaseID nvarchar(10) = (select cast(CaseID as nvarchar(10)) from [MainDB].[dbo].[AllCases] )
Does your table, AllCases, only have one...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 14, 2017 at 9:52 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 14, 2017 at 9:33 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 14, 2017 at 6:56 am
This is untested, as you didn't provide DDL and consumable data, but:SELECT *
FROM #Master M
CROSS APPLY dbo.DelimitedSplit8K(M.Schedule, ',') DS
LEFT JOIN...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 14, 2017 at 6:03 am
Personally, I would create my query, something like below, and then use my presentation layer (SSRS & a matrix, Excel & a pivot table, for example), and pivot the data. Thom~ Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 1:54 pm
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 1:19 pm
Sorry, in my own haste:USE sanroque;
GO
UPDATE dbo.Inventory
SET Price = T2.Price
FROM farwest.dbo.Inventory T2
WHERE T2.ItemNum = Inventory.ItemNum;
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 12:12 pm
It's probably not the destination but the source. ACE is a "wonferful" thing. What length does the source have to
For your URL column and what is the longest length...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 11:53 am
chef423 - Monday, March 13, 2017 11:08 AMAnyone?
A few minutes would have been nice 😉
The error is telling you that you're trying...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 11:17 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 10:47 am
Just like a normal join and update statement:Update MyTable1
SET MyColumn1 = (SELECT T2.MyColumn2
FROM DB2.dbo.MyTable2 T2
WHERE T2.MyID = MyTable1.MyID);
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 10:41 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 10:00 am
I made an indepth post about this a while ago, I'll see if I can find it.
In the interim, use a parameter to return a dataset of values,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
March 13, 2017 at 9:56 am
Viewing 15 posts - 4,096 through 4,110 (of 5,109 total)