Viewing 15 posts - 1,021 through 1,035 (of 2,694 total)
ssms is not BCP - and what you get on SSMS is in many cases totally out of sync with what you get with other tools.
on this case SSMs applies...
December 31, 2021 at 12:03 am
your expectation may not be what you can generate from sql using BCP - not knowing what options you are using I would advise using
"-c" which will add a \r\n...
December 30, 2021 at 9:24 pm
why don't you wish to use stuff?
you can use substring - but that will make your code a bit more complex.
on diff note - avoid hardcoding dbnames (use synonyms instead)...
December 27, 2021 at 10:28 pm
To add to what Jeffrey said - if a CTE is mentioned in the following code 2 or more times it's evaluated and executed as many times. No...
December 26, 2021 at 6:46 pm
the issue is not the sql itself but the whole combination - your system is likely constrained in memory and was unable to produce a plan for the full query.
the...
December 24, 2021 at 9:11 am
My favorite lie is that NOLOCK improves performance.
Of course it must vs taking locks.
"and use snapshot isolation." MEGA-HUGE overhead. SI should only be used...
December 22, 2021 at 6:40 pm
you don't change the connection manager - you change the connection string that the connection manager uses.
only case where this is not possible is when your connection is a flat...
December 21, 2021 at 6:55 pm
ahhhh. numbers....
2 situations - long ago, still on mainframes.
some reports were based on Lines of Code written.. so 2 teams each with their own type of code managed to "improve"...
December 21, 2021 at 6:51 pm
error is very clear - that user (bit\pqScott) does not have permissions to create the table on database RRDB01 - fix the permissions as required.
December 18, 2021 at 1:11 pm
that has happened often enough over last few years - and not only with that CU - some of the scripts that are part of the upgrade process are not...
December 15, 2021 at 6:00 pm
"I review it". How long does THAT take?
And why does it need reviewed for "safety" if they don't have the permissions to change anything on the instance??
What...
December 14, 2021 at 4:49 pm
Hold on. I explicitly stated that auditors should not be able to change anything on the system. Talking about giving auditors "sysadmin" is a straw man.
Scripts that capture full permissions...
December 13, 2021 at 8:45 pm
And in neither case did all inquiries go thru and be approved by the DBA, correct?
An "audit" that only allows what the DBA wants to run is not a...
December 13, 2021 at 7:49 pm
use $($variablename) to see if it solves your issue.
December 13, 2021 at 6:22 pm
As to password protected spreadsheets, I've not had to work on such things before. I'll have to do a test to find out if the "ACE Drivers" have a...
December 13, 2021 at 12:28 am
Viewing 15 posts - 1,021 through 1,035 (of 2,694 total)