Viewing 15 posts - 631 through 645 (of 860 total)
Lowell (4/10/2012)
hbtkp (4/10/2012)
item1 item2 item3
1 pen 34
1 ...
April 10, 2012 at 2:41 pm
richard.noordam (4/10/2012)
April 10, 2012 at 2:34 pm
gmamata7 (4/10/2012)
But the data inserted is wrong and I want to rollback.
But it looks like, it's already been committed.
I want...
April 10, 2012 at 2:28 pm
when you load the data into your staging table does the data then match the table in your database you will be loading the data into? if so i...
April 10, 2012 at 2:22 pm
what about a calender table. add the dates to run to the calendar table and have a job that runs each day check the table if the current date...
April 10, 2012 at 2:06 pm
Lynn Pettis (4/10/2012)
ColdCoffee (4/10/2012)
Why i say this, SQL needs to just...
April 10, 2012 at 1:04 pm
damn beat me to the convert for the date type
April 10, 2012 at 12:03 pm
some thing like this may work.
SELECT DATEADD(MONTH,0,DATEDIFF(MONTH,0,[datefield])), COUNT(*)
FROM table
group by DATEADD(MONTH,0,DATEDIFF(MONTH,0,[datefield]))
if you would like tested code can you post the DDL (Create table scripts) and some sample data (Hard coded...
April 10, 2012 at 11:43 am
well lynn you beat me to it. had almost the exact same code.
April 9, 2012 at 11:48 am
Can you post the DDL (create table script) and hard coded inserts for us so we can be sure on the data and table structure. if you need help...
April 9, 2012 at 11:40 am
jitendra.padhiyar (4/9/2012)
"Saving changes is not permitted. The changes you...
April 9, 2012 at 10:48 am
abecker 5532 (4/7/2012)
April 7, 2012 at 9:17 am
Jeff Moden (4/6/2012)
capn.hector (4/6/2012)
Jeff Moden (4/6/2012)
capn.hector (4/5/2012)
Jeff Moden (4/5/2012)
April 6, 2012 at 5:22 pm
thats one way but an inefficient way. all the cte's will be compiled into a single query by the optimizer but may not achieve the optimal plan if you...
April 6, 2012 at 5:07 pm
Jeff Moden (4/6/2012)
capn.hector (4/5/2012)
Jeff Moden (4/5/2012)
April 6, 2012 at 4:33 pm
Viewing 15 posts - 631 through 645 (of 860 total)