Viewing 15 posts - 10,381 through 10,395 (of 15,381 total)
Eskandari (10/12/2012)
I...
October 12, 2012 at 9:31 am
Hi and welcome to SSC!
Unfortunately you have not provided enough information for anybody to be able to help much. We can't see your data or the results. Without something to...
October 12, 2012 at 9:24 am
vikingDBA (10/12/2012)
I figured someone would cringe.....Thank you, Sean. I'll take a look at these. Much appreciated.
LOL just a lot simpler way of getting the same thing. 😀
October 12, 2012 at 9:18 am
sqlSer12 (10/12/2012)
October 12, 2012 at 9:17 am
vikingDBA (10/11/2012)
October 12, 2012 at 9:13 am
mamzy.rahman (10/12/2012)
i havent need help please not sure how to go about it never used sql in my life
But what have you tried? I have to agree this looks a...
October 12, 2012 at 8:29 am
This has to be one of the strangest processes I have ever seen. You have a table to record the rowcount from every table. Why? It will always be out...
October 12, 2012 at 8:24 am
Can you post what you want for desired output? Just create a temp table and hard code inserts into it. I can't understand your explanation very well and the data...
October 12, 2012 at 7:55 am
The Dixie Flatline (10/11/2012)
If I understand you, you want to have a default value to be returned whenever no value is specified.Select order_nbr, field1, field2, field3
from table
where order_nbr = isnull(@Ord_nbr,'xxxxxx')
That...
October 11, 2012 at 9:23 pm
I am guessing that you didn't read through the article I suggested and understand this code. You can't reference the cte by multiple statements after it is declared. You need...
October 11, 2012 at 9:21 pm
Cheryl McLaughlin-385812 (10/11/2012)
October 11, 2012 at 3:38 pm
where order_nbr = isnull(@Ord_nbr, 'xxxx') maybe????
October 11, 2012 at 3:18 pm
This is a running total problem. Jeff has a great article about it here. http://www.sqlservercentral.com/articles/T-SQL/68467/%5B/url%5D
If you can't figure out how to put that all together post back here. In order...
October 11, 2012 at 3:14 pm
Thanks for ddl and data. Makes this a lot easier.
Your data structures don't allow for anything like a join because there is nothing to tie a status to a phase....
October 11, 2012 at 3:00 pm
a4apple (10/11/2012)
Sean Lange (10/11/2012)
Please help me with the sql code.
All of them are Varchars (Status and Phase even though they look like Integers).
Please don't ask me to change my Datamodel.....
October 11, 2012 at 2:29 pm
Viewing 15 posts - 10,381 through 10,395 (of 15,381 total)