Viewing 15 posts - 3,826 through 3,840 (of 59,098 total)
Now - with all that said, loading 120K rows shouldn't take more than a couple of minutes at most. The fact that it already takes several hours I would...
--Jeff Moden
Change is inevitable... Change for the better is not.
Jeff Moden wrote:Apparently, this isn't an urgent problem, eh?
Guess someone is RTFM'ing 😉 ;cool:
That would be a nice change.
--Jeff Moden
Change is inevitable... Change for the better is not.
Another option
WHERE YourDateColumn >= DATEADD(month, DATEDIFF(month, 0, GETDATE()) - 1, 0) --First of previous month
AND YourDateColumn < DATEADD(month, DATEDIFF(month, 0, GETDATE()), 0) --First of...
--Jeff Moden
Change is inevitable... Change for the better is not.
So you will want to do some date math.
You should treat all dates as the ISO standard and to avoid any ambiguity use YYYY-MM-DD formatting when passing dates to...
--Jeff Moden
Change is inevitable... Change for the better is not.
Just a thought, start by importing the file as all character columns, then analyse the data and reconstruct the target table. 😎 I don't like the Import AND...
--Jeff Moden
Change is inevitable... Change for the better is not.
I think the following error line from those that you provided is the key hint as to what is wrong...
Error 0xc02020c5: Data Flow Task 1: Data conversion failed...
--Jeff Moden
Change is inevitable... Change for the better is not.
All it indicates is that this query is called a lot - but if that execution is sub-second each time then you probably don't have an issue.
Ah, careful now. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
Apparently, this isn't an urgent problem, eh?
--Jeff Moden
Change is inevitable... Change for the better is not.
I think the following error line from those that you provided is the key hint as to what is wrong...
Error 0xc02020c5: Data Flow Task 1: Data conversion failed while converting...
--Jeff Moden
Change is inevitable... Change for the better is not.
Just try asking that same question on Google or any search engine. It's a common question and there are a shedload of excellent articles on the subject.
--Jeff Moden
Change is inevitable... Change for the better is not.
Ah, be careful now. If you use a formula for the backbone of your computed "field" (they usually referred to as a computed or calculated "column") and it has any...
--Jeff Moden
Change is inevitable... Change for the better is not.
I did want to mention that this machine is a 2 node(8 cores per) machine and the Cost Threshold for Parallelism is set to 50. Maxdop on server basis...
--Jeff Moden
Change is inevitable... Change for the better is not.
oRBIT - I finally figured some stuff out and used and old example of a small hierarchy and converted it to HIERARCHYID. The "ID" column in your table is a...
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 15 posts - 3,826 through 3,840 (of 59,098 total)