Viewing 15 posts - 1,276 through 1,290 (of 2,654 total)
Hey, Jeff, will you update this yet again to include the new split_string() function in SQL Server 2016+?
Probably not. The STRING_SPLIT function is relatively crippled for those...
December 26, 2020 at 12:32 am
those 2.5 mins are on your pc - how long does it take to run on the server?
and on top of what Jeffrey said - set the packet size to...
December 17, 2020 at 9:35 pm
I do not understand why you having issues with the link you provided. It is quite clear.
SSIS Package (call it myfile.DTSX) - you create a connection manager to your database...
December 16, 2020 at 8:20 pm
one possible way.
update a
set rupdate = 1
output deleted.*
into table_b
from dbo.TABLe_A a
where convert(date,DTime) = CONVERT(date, getdate())
and cast(DTime as time) >...
December 13, 2020 at 9:33 am
just wonder why people still insist in using cursors/while loops when a better solution was given.
for those seeing this thread and thinking its a good way to do- this approach...
December 11, 2020 at 6:43 pm
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
Viewing 15 posts - 1,276 through 1,290 (of 2,654 total)