Viewing 15 posts - 4,096 through 4,110 (of 5,111 total)
Did you test that code? It doesn't run:
Msg 207, Level 16, State 1, Line 11
Invalid column name 'Schedule'.
Msg 207, Level 16, State 1, Line...
March 14, 2017 at 10:41 am
What is the Excel display format for the column...
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...
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...
March 14, 2017 at 9:52 am
March 14, 2017 at 9:33 am
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...
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.
March 13, 2017 at 1:54 pm
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;
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...
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...
March 13, 2017 at 11:17 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);
March 13, 2017 at 10:41 am
Viewing 15 posts - 4,096 through 4,110 (of 5,111 total)