Viewing 15 posts - 121 through 135 (of 5,109 total)
If "Time" were the first in order in the index, that would be much better?
Like Jo said, I wouldn't just go changing your clustered index without considering the effect...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
January 20, 2023 at 10:40 am
"Time" is part of the clustered index, but the clustered index, as stated in the first post, consists of total of 4 columns (bigint, int, varchar(255), datetime, in that...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
January 20, 2023 at 10:34 am
So do you have index on Time ? Does it contain any other columns and INCLUDE the rest of the columns in the SELECT? Without the query, DDL of the...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
January 20, 2023 at 10:08 am
Are you able to share the execution plan (Paste the Plan)? This'll help us understand what the RDBMS is up to, and see if there are any helpful indexes....
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
January 20, 2023 at 9:38 am
how can i change the language setting of the login/user?
ALTER LOGIN YourLogin WITH DEFAULT_LANGUAGE = BRITISH;
Obviously changing the name of the LOGIN and language you need...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
October 24, 2022 at 1:45 pm
Thom A wrote:Have you tried using an unambiguous date format?
'2021-11-01 00:00:00.000'is ambiguous withdatetime. Try'2021-11-01T00:00:00.000'or just'20211101'.Well spotted!
Not being American teaches you quickly that the format...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
October 24, 2022 at 1:07 pm
Have you tried using an unambiguous date format? '2021-11-01 00:00:00.000' is ambiguous with datetime. Try '2021-11-01T00:00:00.000' or just '20211101'.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
October 24, 2022 at 12:48 pm
The documentation you've link is for the Find (and Replace) tool, is that what you are using? I admit, :b does not work for me for tabs or spaces either,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 15, 2022 at 3:30 pm
Thanks!
Thom A wrote:but I'm not a massive fan of such things.
Can you please specify? Are there any pitfalls when I use it
Pitfuls? A couple would be how to maintain it...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 15, 2022 at 10:45 am
Not natively. You could use something like server-level triggers that occur on a Logon event, but I'm not a massive fan of such things.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 15, 2022 at 9:14 am
I haven't used SSMS 18 against any 2008 instances, but I still use it against a 2012 instance (which should be getting switched off later this year) and never had...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
August 26, 2022 at 2:18 pm
SSIS is not "really that bad". It is worse.
The error messages are often incomplete or misleading. Or non-existent.
I find this untrue, if i am honest. The errors messages often...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
August 23, 2022 at 7:52 am
Have you tried as shown in the above? Are you sure it's the EXEC that's actually failing and not the statement(s) inside the procedure?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
August 5, 2022 at 3:33 pm
Pass a list of strings to a stored procedure SELECT. User.fields_i_want. FROM User. WHERE. User_id IN (SELECT User_id FROM Group_member WHERE Group_id IN (@Search_param)) ORDER BY User_id ASC. EXEC...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
August 5, 2022 at 1:25 pm
Using single quotes around the literally should be all your need:
EXEC dbo.Integration_RetrieveMessageToProcess ?, ?, 'Billed';
If you do try this, as Ed asked, what error do you get?...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
August 5, 2022 at 8:21 am
Viewing 15 posts - 121 through 135 (of 5,109 total)