Viewing 15 posts - 1,276 through 1,290 (of 2,649 total)
using the ONLINE=ON is most likely what is killing the index creation.
but all other comments still valid.
December 8, 2020 at 11:31 pm
from what I can see the output of that query will filter out the cases where either accountid or alternatecode is null - why are you stating it is not...
December 6, 2020 at 12:40 pm
to load the full file without errors you basically define a table with a single column and you load the file onto it without specifying field delimiters - only record...
December 3, 2020 at 6:21 pm
this may give you a hint https://www.mssqltips.com/sqlservertip/3456/getting-sql-server-metadata-with-python/
it would seem that one of your applications does like to get info about tables and its columns a lot - I've seen this...
November 30, 2020 at 11:13 pm
this looks like code converted from Oracle - is your database/tables really setup to be case sensitive that you require to use UPPER for every single column?
there is a way...
November 26, 2020 at 6:44 pm
although not a direct help on this you may wish to consider testing doing split file backups (not stripped) to see if performance improves.
sometimes it does sometimes it doesn't.
see https://www.sqlservercentral.com/forums/topic/creating-split-backups-question...
November 26, 2020 at 1:59 pm
openquery uses a linkedserver name - that name DOES NOT need to be the physical server name although when you create it through the gui and you specify it as...
November 25, 2020 at 1:47 pm
no one can really prepare for something like what we had this year - at least not without spending money that may not ever be needed just for a worst...
November 22, 2020 at 9:37 pm
you need to shrink files, not database.
example - replace test with your database name on the use statement, and with the logical name of your datafile on the shrinkfile command.
the...
November 20, 2020 at 12:29 pm
a simple outer apply would do.
single pass on the table and it is clearer than Pivot/unpivot (at least for me)
select CID
, t.CustType
from...
November 18, 2020 at 3:04 pm
no matter whether you like it or not, 1)application developers write managed code more; 2)application developers implemented the functions, including FORMAT, CONVERT, CAST, LTRIM, RTRIM, TRIM, LEFT, RIGHT; 3)FORMAT...
November 17, 2020 at 7:48 pm
I did say reading the manual is advisable.
format 110 will give the mm-dd-yyyy you asked for the other columns.
and easier as you don't need the right function
November 17, 2020 at 12:04 am
format is very slow and should be avoided whenever possible.
it does help to read the manual
convert(date, dob, 105) -- 105 format is DD-MM-YYYY
full
select right(convert(char(10), convert(date, dob), 105), 7)
November 16, 2020 at 11:07 pm
I'm not surprised after those 158 million rows deleted - most likely done all in one go.
November 15, 2020 at 10:17 pm
depending on your system and on what space it takes on the log file to rebuild your indexes I would reduce the size of the log file - assuming I...
November 15, 2020 at 11:38 am
Viewing 15 posts - 1,276 through 1,290 (of 2,649 total)