Viewing 15 posts - 1,336 through 1,350 (of 2,694 total)
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
as per documentation (https://docs.microsoft.com/en-us/dotnet/api/system.data.datarow.itemarray?view=net-5.0) it converts each column of a row onto a array of objects - and for each row on the recordset being retrieved it adds each column...
November 12, 2020 at 9:55 am
you do need to practice more powershell - and try out the combination of commands that you have available to look at the objects returned - main thing is to...
November 11, 2020 at 12:07 pm
it is on each query as per example on the link I supplied
November 10, 2020 at 11:32 pm
I think you're correct, you should do this for all tables. No sense wasting resources scanning a 900-row table either. Of course that 900 rows could be far larger...
November 10, 2020 at 9:24 pm
you need to explicitly set the parameters db datatype - see https://stackoverflow.com/questions/19891999/how-do-i-force-sqlcommand-to-not-encode-parameters-as-unicode-nvarchar/19892033 for an example
November 10, 2020 at 8:29 pm
one initial question - your query has lots of functions - as it is anonymizes we can't see what they are, but can you at least clarify what they are...
November 10, 2020 at 5:07 pm
as a zip file it works as seen below - you may be able just to rename the .sqlplan to be .sqlplan.zip and upload it
November 10, 2020 at 4:52 pm
estimate will most likely help - not as good as the real thing though.
as for the @variable - never saw that error on Plan Explorer - if you save the...
November 9, 2020 at 8:55 pm
homework - final big work I would say.
November 9, 2020 at 8:37 pm
when you are running the query you still not using Plan Explorer - that is all SQL Server on its own.
only once the query runs and SSMS produces the explain...
November 9, 2020 at 8:35 pm
SQL Sentry will only "reveal" itself on SSMS when you have done a explain plan and have the window with it visible.
at that point right-click on it and you have...
November 9, 2020 at 8:15 pm
see this example - with it you should be able to set your ssis to work with the rowversion value
/*
if object_id('test') is not null
drop table test
create table...
November 9, 2020 at 7:45 pm
Viewing 15 posts - 1,336 through 1,350 (of 2,694 total)