Viewing 15 posts - 2,326 through 2,340 (of 13,850 total)
In this case outer or cross is same thing - I do tend to use outer apply (left outer) instead of cross apply (inner join)
I have no idea whether this...
October 26, 2020 at 4:49 pm
Can you expand on what you mean by "but this doesn't produce the desired result"?
Note also that a unique constraint is not quite the same as a unique index.
October 26, 2020 at 3:07 pm
Frederico .... maybe you're onto something.
Your query has multiple references to ftbid01 which obviously should be to 01, 02, 03, ...
The outer apply could be a cross apply, or do...
October 26, 2020 at 2:27 pm
I don't see anything that would require this query to be written dynamically. This should work:
UPDATE a
SET fta1 = 'ftbid' + CAST(DAY(b.orderdate) AS VARCHAR(2))
FROM tba a
...
October 26, 2020 at 1:53 pm
The service account for which service, exactly? Or is the same service account running multiple services?
October 26, 2020 at 1:41 pm
I've done this before, using a Script Component source.
You'll find articles online from others who have done this before. Here is an example.
October 25, 2020 at 4:51 pm
They are views? But I specified o.type_desc = 'SQL_TABLE_VALUED_FUNCTION' in Where clause.
Sorry, I thought you were referring to sys.objects and sys.key_constraints.
TVFs obviously don't have PKs. Not sure why it...
October 23, 2020 at 5:49 pm
They're Views, not TVFs. Views don't have PKs.
October 23, 2020 at 5:13 pm
This table structure is, and I don't use the word lightly, horrendous.
Is it set in stone, or is there the potential to remodel this into something which follows basic relational...
October 23, 2020 at 3:51 pm
How do I fix this?
And that should be...
October 23, 2020 at 3:42 pm
I am pretty sure that if the SSIS service is not running, you can't do most SSIS related tasks such as deploying to an SSIS catalog.
I am a little...
October 22, 2020 at 8:45 pm
I don't know EF well enough to comment on that, unfortunately.
October 22, 2020 at 11:57 am
Using more appropriate data types:
DECLARE @hFrom TINYINT = 9
, @mFrom TINYINT = 0
, @hTo ...
October 22, 2020 at 11:55 am
Don't let your use of EF force you never to use temp tables, because sometimes temp tables are the best tool for the job!
For these procs, is there a final...
October 21, 2020 at 9:12 pm
Rather than assuming what the optimiser is doing, please check the execution plans to be sure.
What indexes and keys do you have on HubHistoryData?
October 21, 2020 at 9:04 pm
Viewing 15 posts - 2,326 through 2,340 (of 13,850 total)