Viewing 15 posts - 136 through 150 (of 1,169 total)
ashwan (6/23/2016)
June 23, 2016 at 2:27 am
ashwan (6/23/2016)
no just a general question . what happen to select query?
It won't return the currently updating data if it's selected by the SELECT query.
If you use hint (NOLOCK) for...
June 23, 2016 at 1:23 am
What is the isolation level?
Do you use any hints (e.g. NOLOCK)?
June 23, 2016 at 1:07 am
Welsh Corgi (6/17/2016)
The following article answered my questions:
You can do the same with the Generate scripts action on right-click on the database, filtering the objects and properties you...
June 22, 2016 at 1:27 am
Charmer (6/21/2016)
Hi Igor,I want to do this in RDL. I can't use this SQL query. And SP is used in the Dataset.
You can write similar form of it and put...
June 21, 2016 at 6:49 am
It's an easy task. You must first eliminate the duplicate rows and then make the SUM-ing.
According to your sample data, it should be somthing like this
with SampleTable as
(
select
[Format],[Response],...
June 21, 2016 at 6:28 am
Your script is not good enough.
Running it, resulted with the following error messages:
(2 row(s) affected)
[font="Courier New"]Msg 6107, Level 14, State 1, Line 1
Only user processes can be killed.
Msg 6104, Level...
June 20, 2016 at 12:20 pm
The LAG function is aimed for those kind of problems like yours. Have you saved you query using LAG, if so share it here. Someone may find a better solution...
June 20, 2016 at 8:37 am
Revenant (6/17/2016)
Ed Wagner (6/17/2016)
Nice question to end the week.+1
I am surprised that only 50 percent of answers were correct.
It's a big percentage for such a question (very internal one). Many...
June 17, 2016 at 10:11 am
TomThomson (6/17/2016)
Igor Micev (6/17/2016)
June 17, 2016 at 10:07 am
To be clear, you can use the trigger_nestlevel() function - https://msdn.microsoft.com/en-us/library/ms182737.aspx
It's aimed for triggers.
June 17, 2016 at 5:06 am
Those are the checkpoints in SQL Server 2012 and 2014 as well. The difference with SQL Server 2016 is that in 2016 the Indirect type is by default set on...
June 17, 2016 at 1:01 am
coolchaitu (6/16/2016)
max server memory just controls the buffer pool, not CLR, full text,multiple other processes that run outside of the Buffer Pool memory
That's why Gail advised you to decrease it...
June 16, 2016 at 8:50 am
Hi,
This could help you
SELECT strVal, STUFF(
STUFF(strVal+'c', PATINDEX('%[0-9][^0-9.]%', strVal+'c')+1, LEN(strVal), ''),
1, PATINDEX('%[0-9]%', strVal)-1, ''
) AS [decimal]
FROM(VALUES( 'MG' ), ( 'MG/5ML' ), ( 'MCG/0.5ML' ), ( 'MG/ML' ),...
June 16, 2016 at 8:36 am
Revenant (6/16/2016)
Grumpy DBA (6/16/2016)
Ed Wagner (6/16/2016)
crookj (6/16/2016)
KansasKansas City
BBQ
Summer
Rio
June 16, 2016 at 8:22 am
Viewing 15 posts - 136 through 150 (of 1,169 total)