Viewing 15 posts - 1,036 through 1,050 (of 2,654 total)
just use straight convert with the correct destination type (e.g. no VARCHAR without specifying a size - bad practice!!) and with the correct format - no need for substring either.
October 8, 2021 at 6:49 pm
If you don't need the end user connecting as themselves, you could have it connect as a specific user on the remote machine. Downside is you may need to...
October 5, 2021 at 5:53 pm
This.
Just that. Everything else is nice to have. But that, that's a flipping miracle. And yes, I mean the word other than flipping.
Instantaneous transaction rollback
With...
October 5, 2021 at 5:50 pm
please stop posting the same question on different threads - you have already 4 or 5 on same subject.
keep this on https://www.sqlservercentral.com/forums/topic/inline-table
October 4, 2021 at 11:18 pm
error message does tell you what to do -
October 1, 2021 at 1:17 pm
not enough information to tell you what is the correct way to do for your particular query but the following should point you on the right direction.
select...
September 26, 2021 at 11:01 am
sql playing dumb on this case
if your software can be set to do other types of joins/cross applies or even to, as you said, generate the isnull (which works on...
September 24, 2021 at 10:54 pm
on the server itself (or through xp_cmdshell on that sql instance) execute
tnsping tableau
if the server is names like that you will get an output with the ip/hostname of the server...
September 24, 2021 at 10:05 pm
very few items from a SQL coding perspective are not available on standard since 2016 SP1 - before yes it was a problem, nowadays not so much unless you are...
September 24, 2021 at 6:49 pm
and how many cpu/cores/numa nodes does that machine have?
September 24, 2021 at 4:00 pm
from a functionality point of view they are exactly the same.
its just licensing that is different - install is also same just different license key which determines how cpu/core is...
September 24, 2021 at 3:52 pm
CAST(SUM(p.QTY * 1.0) / SUM (r.QTY) AS decimal (5,2)) AS 'Forecast Accuracy'
by "forcing" one of the operators to be a decimal the results is now a decimal.
September 23, 2021 at 2:09 am
no
what you need to do is not add them to any role that allows data changes (or ddl changes) - e.g. do not add them to db_datawritter or db_ddladmin -...
September 21, 2021 at 5:50 pm
first step is to change the owner of the database to be either a lowlevel SQL Login created just for that or to SA
ALTER AUTHORIZATION ON database::testdb TO DisabledLogin;
then create...
September 21, 2021 at 3:53 pm
if the index is partitioned then yes.
alter index indexname on tablename rebuild partition = 3 ...
September 16, 2021 at 4:24 pm
Viewing 15 posts - 1,036 through 1,050 (of 2,654 total)