Viewing 15 posts - 1,231 through 1,245 (of 2,905 total)
My opinion - each "feature" of SQL that you enable requires knowledge and skills on how to work with it. For example, if you turn on memory optimized tables, do...
April 29, 2021 at 2:09 pm
From looking at that, the problem is indicated in the first error - Parameter arrays with data at execution are not supported by the MySQL/MariaDB ODBC driver.
April 28, 2021 at 7:09 pm
If you have a table with a clustered index that you cannot rebuild or reorganize, I think the ONLY other thing you could do to reduce the fragmentation percentage would...
April 27, 2021 at 9:59 pm
I'd have a read on this page:
But basically, "alter table <tablename> rebuild" will rebuild your heap.
Does that table need to be a heap or would it benefit from an index?
April 27, 2021 at 7:49 pm
Just to confirm, if you log into the server while the job is running and load up task manager, who does cscript.exe say it is running as?
The reason I ask...
April 27, 2021 at 5:42 pm
Just my opinion, but do you need ALL of the ERP data?
The reason I ask is if you aren't needing all 130 GB of data, it MAY be faster to...
April 27, 2021 at 5:19 pm
What is likely happening is sys.tables is getting a lock due to the SELECT * INTO TableName which would create the table AND do a select in a single transaction...
April 27, 2021 at 4:57 pm
Making a guess here, but is that a TABLE or a VIEW or STORED PROCEDURE? I am just trying to imagine designing a system that will alter a table to...
April 27, 2021 at 4:40 pm
What about UNC path vs drive letter or is the file stored locally?
As another thought, are you using the 32-bit driver or the 64-bit driver?
This is the link I found...
April 26, 2021 at 4:55 pm
Another option (others may shoot this down as a bad idea) would be to turn on filestream access on the folder and have the SQL side mostly pulled out of...
April 23, 2021 at 9:53 pm
I second Ken's approach. I like having my application logic at the application layer and my database logic in the database.
I would much rather have 2 stored procedures (pre java...
April 23, 2021 at 8:33 pm
One other thing you will want to be certain of is that the drive letter doesn't change.
It USUALLY doesn't from a format, but I've seen Windows do stranger things before.
April 23, 2021 at 8:25 pm
CXCONSUMER was introduced in SQL Server 2017 CU3. 14.0.2037.2 is NOT CU3.
you are not "patched to current" as current SQL Server 2017 is CU23 which is version 14.0.3381.3
Even CU3 is...
April 23, 2021 at 5:31 pm
I agree with you 110%!
I almost always use CTE's over nested selects. I find them easier to read and easier to test and debug. "SELECT * FROM <cte name>" after...
April 23, 2021 at 4:08 pm
From my experience, nested selects vs CTE's have had very similar performance.
If you have a SQL formatting tool (such as RedGate SQL Prompt or ApexSQL Refactor), I would start by...
April 23, 2021 at 3:00 pm
Viewing 15 posts - 1,231 through 1,245 (of 2,905 total)