Viewing 15 posts - 1 through 15 (of 334 total)
Openquery runs on the remote server and returns the result set. 4 part names runs local and has to suck the data across the network needed for the query. There...
January 22, 2020 at 5:44 pm
You could try something like this to make it work.
CREATE TABLE #DATACONTENT(line VARCHAR(MAX))
INSERT INTO #DATACONTENT VALUES ('\\A1-SRV-05\REPRISE-sollyaza\Allian_ged\NOVAXEL\ALLIAN_1\C842183\CARREFOUR SANTE REPRISE\160010210006\documents entrants\Courriers divers_12470290.pdf')
INSERT INTO #DATACONTENT VALUES ('\\A1-SRV-05\REPRISE-sollyaza\Allian_ged\NOVAXEL\ALLIANZ_1\CAL000010\Volvo Allianz\VAZP100027\documents entrants\001-Doc...
January 22, 2020 at 5:09 pm
Try to add a query hint to eliminate the loop join and turn it into a hash or merge. Are statistics current on the tables.
Tom
September 30, 2015 at 10:28 am
I will usually connect to master, kill all connections to the database in step 1 and then start my restore in step 2.
I've never been blocked when I've...
September 24, 2015 at 1:59 pm
It looked like your plan timed out on generation. So it's just choosing whatever its on and running it. This is probably happening everytime the query is running and...
September 24, 2015 at 1:26 pm
It looks like it's using the clustered index almost exclusively for all data access. I don't know if that's by design or if you thought it would use the...
December 15, 2014 at 10:05 am
You can try looking at the query plan to see if it doing tablescans during the procedure, and index appropriately. I would definitely read the link about parameter sniffing....
December 15, 2014 at 9:59 am
I'm wondering if someone didn't corrupt the file(xls) and change the column types. Have you tried creating a new xls template for importing. Is everyone having problems with...
December 15, 2014 at 9:17 am
I forgot to ask, what datatypes are in the table being inserted into.
Tom
December 15, 2014 at 9:05 am
How many indexes are on the file. I would try dropping the indexes from the file and retry. Is this a new process? I would also, if...
December 15, 2014 at 8:58 am
The first thing you need to do is to truncate the t-log. backup log <db> with truncate_only.
Then issue the dbcc shrinkfile (filename,size)
If your going to keep this in simple...
October 6, 2010 at 9:07 am
Is there a clustered key on this table. If there is then the dbcc dbreindex will free the space. If not, than nothing you do will re-org this...
October 6, 2010 at 8:58 am
You could try to create another column that reverses the phone number, index that and then reverse the input of the search and search based on the new column in...
September 21, 2010 at 8:36 am
If you run this as a scheduled job, you should be able to use a job log and the print statements should write out to that. It is on...
September 21, 2010 at 7:58 am
Can you try setting the compatibility flag back to 8.0 and see if the queries performance increase while you research the problem. I have read that instead of a...
September 21, 2010 at 7:52 am
Viewing 15 posts - 1 through 15 (of 334 total)