Viewing 15 posts - 1 through 15 (of 26 total)
not from the ssms.. wanted from the individual scripts.
Tried through DOS command.. Its done. Thanks a lot
August 27, 2015 at 4:39 am
oh yes... it is "D:ew.bat" i missed it while posting it here... but i ma trying with D:ew.bat only
August 14, 2015 at 12:49 am
it's done. I added a Level column with 0 and 1 and ordered accordingly.
Thanks
July 27, 2015 at 6:25 am
ty so much. I tried your suggestion and got the result for all the months.
The final query after a CTE is -
select Month,Resource,DepDate,Increase,Proj_Bkd,Vol_Target,Difference_B_T,Difference_Proj_T,Perc_Bkd_Trgt,Final_Prev_Year,Booked_SDL,Perc_Booked_To_Final from temp
union all
select 'Total' ,null,null,sum(Increase),sum(Proj_Bkd),sum(Vol_Target),sum(Difference_B_T),sum(Difference_Proj_T),sum(Perc_Bkd_Trgt),sum(Final_Prev_Year),sum(Booked_SDL),sum(Perc_Booked_To_Final) from...
July 27, 2015 at 5:59 am
This will give only the four rows for which there is data... I need result for all the months
July 27, 2015 at 4:31 am
will be making sure that there are only trusted connections.
Just wanted to check if i am missing something if i write the password.
thanks a lot. 🙂
July 23, 2015 at 4:31 am
yes. This is what i am stuck with.
I have to use bcp ulpoads in a proc.
like -
SET@JOBSTR = 'Exec master..xp_cmdshell' + ' ' + '''bcp' + '...
July 23, 2015 at 4:18 am
Please if anyone can suggest something...
July 23, 2015 at 4:06 am
Like I have got the user name from SYSTEM_USER. How do i get the password?
July 22, 2015 at 11:50 pm
There was a confusion earlier. I had not seen this post of yours.
This gave the desired results. Thanks a lot.
July 20, 2015 at 4:12 am
Hey.. I didnt read this earlier.... It is working fine.. Giving the desired results 🙂 but seems to be a slow query. (taking 10 sec to process 1 lac records)....
July 19, 2015 at 10:13 pm
Thanks.
So you think there can be some other options? As i have quite a few checks in where clauses for different tables and columns.
Or should i go with the...
July 17, 2015 at 6:16 am
Viewing 15 posts - 1 through 15 (of 26 total)