Viewing 15 posts - 3,076 through 3,090 (of 13,879 total)
That is a requirement, but what is your question?
December 18, 2019 at 1:28 pm
If you want a working query, please provide DDL, sample data (in the form of INSERT statements) and desired results (based on your sample data).
You'll probably have to provide a...
December 17, 2019 at 1:30 pm
I'd still lean towards looking to buy some other CRM tool versus build your own.
Based on what you've (the OP) posted so far, I'd agree with this. I used to...
December 17, 2019 at 12:20 pm
Is the scope of this work as follows?
...
December 16, 2019 at 4:02 pm
SELECT o1.*
FROM OrderItem o1
WHERE NOT EXISTS (SELECT 1 FROM OrderItem o2 where o1.OrderId = o2.OrderId and o2.Status <> 'Shipped')
December 13, 2019 at 3:50 pm
December 12, 2019 at 6:49 pm
I would guess that it's because ProductName is not unique in the table
Try changing your match criteria from this
(TARGET.ProductName= SOURCE.ProductName)
to this
(TARGET.ProductId= SOURCE.ProductId)
December 12, 2019 at 6:41 pm
You don't need to use VALUES when selecting from one or more tables.
INSERT t(col1, Col2)
SELECT t1.Col1, t2.Col2
FROM t1 join t2 ...
December 12, 2019 at 3:03 pm
'Quater' ... do you mean 'Quarter', by any chance?
Not sure I understand: are you trying to set the value of an SSIS package variable to the 'QuaterID' which the above...
December 12, 2019 at 2:14 pm
Good response. I'd help if I could, but I'm just a lowly developer 🙂
December 12, 2019 at 1:51 pm
Do you want the new tables to be empty?
December 12, 2019 at 1:47 pm
There's no need to have such an unpleasant attitude. People on this forum are generally friendly and helpful. You'll get the best responses if you are too.
December 12, 2019 at 1:34 pm
Instead of providing us with a list of requirements and forcing us to play "guess the question", why not ask us something specific?
December 12, 2019 at 12:37 pm
Can you provide a bit of background as to why you want to do this?
Seems like it will create a lot of clutter in your DB ... others here may...
December 11, 2019 at 10:27 pm
One thing I've learned through experience is not to use the word 'new' in any object names. It may seem like a good idea now, but in three years' time...
December 11, 2019 at 10:24 pm
Viewing 15 posts - 3,076 through 3,090 (of 13,879 total)