June 17, 2016 at 11:32 am
Brandie Tarvin (6/17/2016)
Further proof that anyone believing in the power of zero MUST be crazy. @=) (duck)
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
June 17, 2016 at 11:41 am
Ray K (6/17/2016)
Brandie Tarvin (6/17/2016)
Further proof that anyone believing in the power of zero MUST be crazy. @=) (duck)
HA! I forgot about that.
June 17, 2016 at 12:48 pm
Well, my navigations through the world of VSTS are complete, or at least, working.
As much as I like the system, finding information and understanding exactly what's happening is hard. I think they're rev'ing so much that everyone's thoughts, blogs, howtos, etc, get out of date, even the ones that somehow get to the top of the Google rankings.
June 17, 2016 at 1:22 pm
Steve Jones - SSC Editor (6/17/2016)
Well, my navigations through the world of VSTS are complete, or at least, working.As much as I like the system, finding information and understanding exactly what's happening is hard. I think they're rev'ing so much that everyone's thoughts, blogs, howtos, etc, get out of date, even the ones that somehow get to the top of the Google rankings.
Sorry, end of a long week, brain dead, no desire to even Google what VSTS is.
June 17, 2016 at 1:33 pm
Lynn Pettis (6/17/2016)
Steve Jones - SSC Editor (6/17/2016)
Well, my navigations through the world of VSTS are complete, or at least, working.As much as I like the system, finding information and understanding exactly what's happening is hard. I think they're rev'ing so much that everyone's thoughts, blogs, howtos, etc, get out of date, even the ones that somehow get to the top of the Google rankings.
Sorry, end of a long week, brain dead, no desire to even Google what VSTS is.
From their site:
Visual Studio Team Services
Services for teams to share code, track work, and ship software – for any language, all in a single package.
It’s the perfect complement to your IDE.
Visual Studio Team Services
Cloud collaboration tools for teams
It’s not an IDE, it’s everything else. Visual Studio Team Services provides a set of cloud-powered collaboration tools that work with your existing IDE or editor, so your team can work effectively on software projects of all shapes and sizes.
June 17, 2016 at 2:25 pm
Luis Cazares (6/17/2016)
Lynn Pettis (6/17/2016)
Steve Jones - SSC Editor (6/17/2016)
Well, my navigations through the world of VSTS are complete, or at least, working.As much as I like the system, finding information and understanding exactly what's happening is hard. I think they're rev'ing so much that everyone's thoughts, blogs, howtos, etc, get out of date, even the ones that somehow get to the top of the Google rankings.
Sorry, end of a long week, brain dead, no desire to even Google what VSTS is.
From their site:
Visual Studio Team Services
Services for teams to share code, track work, and ship software – for any language, all in a single package.
It’s the perfect complement to your IDE.
Visual Studio Team Services
Cloud collaboration tools for teams
It’s not an IDE, it’s everything else. Visual Studio Team Services provides a set of cloud-powered collaboration tools that work with your existing IDE or editor, so your team can work effectively on software projects of all shapes and sizes.
Thank you.
June 17, 2016 at 3:29 pm
Luis got it.
Essentially the online version of TFS. Has VCS, build, release, work tracking, etc. It's really slick, and I like it. It's the equivalent of TFS Server 2015 Update 2 right now.
Some stuff works great, some is hard to navigate, some unintuitive, but it's cool. Will demo it Tues at my webinar: https://attendee.gotowebinar.com/register/4656533273549833218
June 20, 2016 at 8:24 am
Michael L John (6/16/2016)
I'm sorry, this post infuriates me.Integer division was taught within the first three weeks of my first programming class in my first semester of school.
To be a bit compassionate they probably didn't even think about data type precedence. Excel does implicit conversions for you and if that's what he's used to using (I'm being compassionate remember?) then not seeing why an explicit conversion is necessary is kind of understandable.
Then again there's this thing called MSDB that has answers to things like "Why won't my two numbers give me a decimal result when I divide them?" so I can't be too compassionate.
And yes. This has come back to bite me more than a few times when I was being lazy.
June 20, 2016 at 8:40 am
JustMarie (6/20/2016)
Michael L John (6/16/2016)
I'm sorry, this post infuriates me.Integer division was taught within the first three weeks of my first programming class in my first semester of school.
To be a bit compassionate they probably didn't even think about data type precedence. Excel does implicit conversions for you and if that's what he's used to using (I'm being compassionate remember?) then not seeing why an explicit conversion is necessary is kind of understandable.
Then again there's this thing called MSDB that has answers to things like "Why won't my two numbers give me a decimal result when I divide them?" so I can't be too compassionate.
And yes. This has come back to bite me more than a few times when I was being lazy.
I think you mean MSDN. 😉 Nonetheless, your point is valid.
June 20, 2016 at 10:00 am
Ed Wagner (6/20/2016)
JustMarie (6/20/2016)
Michael L John (6/16/2016)
I'm sorry, this post infuriates me.Integer division was taught within the first three weeks of my first programming class in my first semester of school.
To be a bit compassionate they probably didn't even think about data type precedence. Excel does implicit conversions for you and if that's what he's used to using (I'm being compassionate remember?) then not seeing why an explicit conversion is necessary is kind of understandable.
Then again there's this thing called MSDB that has answers to things like "Why won't my two numbers give me a decimal result when I divide them?" so I can't be too compassionate.
And yes. This has come back to bite me more than a few times when I was being lazy.
I think you mean MSDN. 😉 Nonetheless, your point is valid.
D'oh! I blame Monday and lack of caffeine. And acronym overload. 😎
June 20, 2016 at 2:37 pm
Sorry for the technical question in The Thread, but I just have to ask everyone around the water cooler what they think.
Does anyone else see a problem with the following code?
Create Trigger tr_TriggerName on dbo.OperationsSIGACTTable Instead Of Insert, Update
AS
Begin
Insert Into OperationsSIGACTTable (Col1, Col2, Summary, .... , ColN)
Select Col1, Col2, RemoveSpecialChars(Summary) , .... , ColN
From inserted i;
End
June 20, 2016 at 2:43 pm
Lynn Pettis (6/20/2016)
Sorry for the technical question in The Thread, but I just have to ask everyone around the water cooler what they think.Does anyone else see a problem with the following code?
Create Trigger tr_TriggerName on dbo.OperationsSIGACTTable Instead Of Insert, Update
AS
Begin
Insert Into OperationsSIGACTTable (Col1, Col2, Summary, .... , ColN)
Select Col1, Col2, RemoveSpecialChars(Summary) , .... , ColN
From inserted i;
End
Well I see there is a scalar function in there. I also have never been a big fan of (well ok actually it is something I really hate) silently changing input like that. IMHO you should never just decide to change input data except in some pretty rare situations.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
June 20, 2016 at 2:44 pm
Sean Lange (6/20/2016)
Lynn Pettis (6/20/2016)
Sorry for the technical question in The Thread, but I just have to ask everyone around the water cooler what they think.Does anyone else see a problem with the following code?
Create Trigger tr_TriggerName on dbo.OperationsSIGACTTable Instead Of Insert, Update
AS
Begin
Insert Into OperationsSIGACTTable (Col1, Col2, Summary, .... , ColN)
Select Col1, Col2, RemoveSpecialChars(Summary) , .... , ColN
From inserted i;
End
Well I see there is a scalar function in there. I also have never been a big fan of (well ok actually it is something I really hate) silently changing input like that. IMHO you should never just decide to change input data except in some pretty rare situations.
That is the least of the issues I think I see. What if this code is triggered by an UPDATE?
June 20, 2016 at 3:01 pm
Lynn Pettis (6/20/2016)
Sean Lange (6/20/2016)
Lynn Pettis (6/20/2016)
Sorry for the technical question in The Thread, but I just have to ask everyone around the water cooler what they think.Does anyone else see a problem with the following code?
Create Trigger tr_TriggerName on dbo.OperationsSIGACTTable Instead Of Insert, Update
AS
Begin
Insert Into OperationsSIGACTTable (Col1, Col2, Summary, .... , ColN)
Select Col1, Col2, RemoveSpecialChars(Summary) , .... , ColN
From inserted i;
End
Well I see there is a scalar function in there. I also have never been a big fan of (well ok actually it is something I really hate) silently changing input like that. IMHO you should never just decide to change input data except in some pretty rare situations.
That is the least of the issues I think I see. What if this code is triggered by an UPDATE?
Yeah that one too. Of course if you have turned off recursive triggers it at least won't crash the system. https://msdn.microsoft.com/en-us/library/bb522682.aspx
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
June 20, 2016 at 3:12 pm
Sean Lange (6/20/2016)
Lynn Pettis (6/20/2016)
Sean Lange (6/20/2016)
Lynn Pettis (6/20/2016)
Sorry for the technical question in The Thread, but I just have to ask everyone around the water cooler what they think.Does anyone else see a problem with the following code?
Create Trigger tr_TriggerName on dbo.OperationsSIGACTTable Instead Of Insert, Update
AS
Begin
Insert Into OperationsSIGACTTable (Col1, Col2, Summary, .... , ColN)
Select Col1, Col2, RemoveSpecialChars(Summary) , .... , ColN
From inserted i;
End
Well I see there is a scalar function in there. I also have never been a big fan of (well ok actually it is something I really hate) silently changing input like that. IMHO you should never just decide to change input data except in some pretty rare situations.
That is the least of the issues I think I see. What if this code is triggered by an UPDATE?
Yeah that one too. Of course if you have turned off recursive triggers it at least won't crash the system. https://msdn.microsoft.com/en-us/library/bb522682.aspx
Instead of triggers don't fire recursively. An insert on the table fires the instead of the trigger, the insert inside the instead of trigger will not fire the instead of trigger again, so that isn't a problem.
Fun part, this is where they got this idea:
Viewing 15 posts - 54,631 through 54,645 (of 66,688 total)
You must be logged in to reply to this topic. Login to reply