Viewing 15 posts - 6,841 through 6,855 (of 15,381 total)
Please don't cross post. It just fragments replies and makes it harder for you get a decent response.
Direct replies here.
http://www.sqlservercentral.com/Forums/Topic1494546-1550-1.aspx
September 13, 2013 at 7:59 am
lanky_doodle (9/13/2013)
Alan.B (9/12/2013)If I understand the original OP correctly (" If something has been credited, the billed item row should be excluded") this would not provide the right answer with...
September 13, 2013 at 7:54 am
There isn't enough information to provide an answer. In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in...
September 12, 2013 at 3:04 pm
ChrisM@home (9/12/2013)
paulcauchon (9/12/2013)
Originally, we had been treating the...
September 12, 2013 at 2:57 pm
What you have is a painful twist to an EAV type of system. This is going to be nothing but slow, tedious and nightmarish as the system gets larger.
We...
September 12, 2013 at 2:55 pm
todd.ayers (9/12/2013)
I finally got it to work... thx for all your help guys...
Glad you got it to work. What was the issue? There may be others who come along this...
September 12, 2013 at 2:26 pm
wei (9/12/2013)
I have a question and see if people can help me out in this, I was trying to sum the column number up, but somehow if I do select...
September 12, 2013 at 12:53 pm
j.grimanis (9/12/2013)
Again update from trigger is very slow.
At least the trigger will now get the right data. 😉
OK in order to be able to help much we will need to...
September 12, 2013 at 12:43 pm
Probably char(8). Then you will have to do some substring manipulaton to separate the date parts.
September 12, 2013 at 12:31 pm
Yeah you need a calendar table. Check out this article. It is great explanation of what they can do for you.
http://www.sqlservercentral.com/articles/T-SQL/70482/%5B/url%5D
September 12, 2013 at 10:39 am
todd.ayers (9/12/2013)
September 12, 2013 at 10:37 am
db2mo (9/12/2013)
September 12, 2013 at 10:13 am
Alan.B (9/12/2013)
Sean Lange (9/12/2013)
select SUM(Case when MyType = 2 then -1 * MyHours else MyHours end) as TotalHours
from #SomeTable
If I understand the original OP correctly (" If something has been...
September 12, 2013 at 10:10 am
todd.ayers (9/12/2013)
I have admin rights and I have verified and re-verified the file path is correct but still dont understand why I would get this error.
Are you sure??? That is...
September 12, 2013 at 10:06 am
Take a look at the article in my signature about splitting strings. In there you will find a table valued function for doing this.
The code when you are done would...
September 12, 2013 at 10:02 am
Viewing 15 posts - 6,841 through 6,855 (of 15,381 total)