Viewing 15 posts - 1,366 through 1,380 (of 2,462 total)
tsobiech (6/12/2015)
...Things would be so much easier if I could just use a parameter in a view.
That's what an inline table valued function is (or at least how you can...
-- Itzik Ben-Gan 2001
June 12, 2015 at 11:57 am
Shawn Melton (6/12/2015)
Just go download Sp_WhoIsActive and use it.
+1
Awesome tool!
-- Itzik Ben-Gan 2001
June 12, 2015 at 8:55 am
And... SP_WHO3 is not a built-in Microsoft sproc. - can you post the DDL you are using to create SP_WHO3?
-- Itzik Ben-Gan 2001
June 12, 2015 at 8:42 am
JP10 (6/11/2015)
Alan, your saying for the total time it took to execute and not in real time correct?
I don't know if I understand your question so I'm not sure if...
-- Itzik Ben-Gan 2001
June 11, 2015 at 7:02 pm
You could capture that amount of time that a stored procedure executes using Extended Events. "
-- Itzik Ben-Gan 2001
June 11, 2015 at 1:29 pm
Can how post some DDL, sample data and the query you used to get the result set that you posted?
-- Itzik Ben-Gan 2001
June 10, 2015 at 2:27 pm
Mile Higher Than Sea Level (6/10/2015)
After clicking OK, it just runs fine.
Is this error message normal?...
-- Itzik Ben-Gan 2001
June 10, 2015 at 2:21 pm
dniranjan2000 (6/10/2015)
Hi Alan,Many Thanks for your suggestion and recommending the books.
currently I am concentrating on T-SQL for a good foundation.
Kind regards
Niranjan
Excellent. I got my Start in SQL in a similar...
-- Itzik Ben-Gan 2001
June 10, 2015 at 9:45 am
I'm with everyone else - SQL Saturday and Local User Groups are great resources.
I would add - I have working in the past with Tek Systems. I think they...
-- Itzik Ben-Gan 2001
June 9, 2015 at 2:12 pm
The image you post does not help. DDL and some easily consumable sample data would be better.
The logic you are looking for will look something like this:
-- SOME...
-- Itzik Ben-Gan 2001
June 9, 2015 at 1:59 pm
The internal result strings are delimited with Char(10), conservative counts are from 64k to over 100k lines in each record. ...
Is there a way to parse the individual lines into...
-- Itzik Ben-Gan 2001
June 9, 2015 at 1:45 pm
If you want to go the DBA route then you will want to learn more about backing up/restoring databases, Installing and configuring SQL Server, VMs, Disk storage and things of...
-- Itzik Ben-Gan 2001
June 9, 2015 at 10:42 am
You have:
= IIF(Parameters!getSource.Value)="ACME", "Company1",Parameters!getSource.Value)
Remove the parenthesis after ".Value":
= IIF(Parameters!getSource.Value="ACME", "Company1",Parameters!getSource.Value)
-- Itzik Ben-Gan 2001
June 9, 2015 at 10:28 am
Iwas Bornready (6/8/2015)
Good script, thank you.
Thanks sir!
-- Itzik Ben-Gan 2001
June 8, 2015 at 10:50 am
Sioban Krzywicki (6/5/2015)
Brian J. Parker (6/5/2015)
RonKyle (6/5/2015)
That's a different but interesting topic. For that I have a separate Holiday table.
I agree that that's a better way. It's been on...
-- Itzik Ben-Gan 2001
June 5, 2015 at 4:12 pm
Viewing 15 posts - 1,366 through 1,380 (of 2,462 total)