Viewing 15 posts - 901 through 915 (of 1,999 total)
a slightly easier way could be using row_number over order by
for example, to get the first item in sysobjects by type (first table, first proc etc)
select x.* from (
select name,...
September 13, 2019 at 1:36 pm
Number isn't a data type
use decimal and specify the precision and scale
https://docs.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql?view=sql-server-2017
September 13, 2019 at 1:25 pm
are you using a fully qualified UNC path? such as
\\server\folder1\file1
or a local path
H:\file1
I've had issues with local paths and now everything is UNC for me
September 13, 2019 at 1:19 pm
if your scaled out DB has just replicated a delete without a where clause then you are just as stuffed as if the scaled out cluster went...
September 13, 2019 at 1:12 pm
Something else is going on, would need to see a more complete original statement and the table definition(s).
sorry, that proc is huge and references views which have functions etc...
September 12, 2019 at 4:08 pm
I suspect that the implicit conversion is causing an issue.
Does this work?
WHERE vaoq.Questionnaire_ID = CONVERT(uniqueidentifier, '09C4C7B4-1275-460A-AE23-FFA9256B1ABE')
that was the first thing I tried
September 12, 2019 at 1:08 pm
In my place of work we have "internal customers"
our departments cross charge each other (it makes no sense to me) but our marketing team have a budget that they can...
September 11, 2019 at 3:01 pm
I don't think that you can get a 1 minute diagnosis on a newish system.
Even the best of us get surprised by the way things manage to go wrong...
September 11, 2019 at 2:51 pm
I love SQL compare - but we need the SDK back...I used it in 1 company to compare our release code to 200 servers (casino memberships) to ensure all code...
September 4, 2019 at 2:05 pm
Thanks Grant - that was my suspicion
is there any way to get this parameterised without shouting at 40 developers and the entire team at Microsoft that built MS Access?
September 2, 2019 at 3:00 pm
Thanks for the article. 1 Trillion rows caught my attention. How would you compare and RDBMS row to a NoSQL row. Can I consider a NoSQL "row" as a...
September 2, 2019 at 9:46 am
interesting - and majorly worrying
quite a few are based around facial recognition.
some of what we do is eye tracking for adverts (for example percentage of people who look up at...
August 22, 2019 at 9:04 am
I'd avoid the trigger
just based on the fact that it will fire (even if it does nothing) on every modification action to the data on that table (depending on how...
August 22, 2019 at 8:41 am
I can give a really good example of why "well written" unit tests are valuable.... it's not about new code
imagine you have a table of people and there is a...
August 20, 2019 at 7:44 am
Viewing 15 posts - 901 through 915 (of 1,999 total)