Viewing 15 posts - 166 through 180 (of 2,267 total)
I assume you are using SSMS for this?
SSMS is not designed as a presentation layer so doing something like this is not really possible.
Use a front-end report system such as...
October 6, 2011 at 3:40 am
Why write your own windows applicaiton to do this, when you could jsut use SSIS and save yourself weeks of work.
October 6, 2011 at 3:27 am
use a lookup component and send the non-matches to a OLE DB connection for the inserts,
for the updates either;
write the update statement in a SQL component with parameters and assign...
October 6, 2011 at 3:21 am
you have too many ')' in the 3rd line.
SELECT C.Clstr_Nm,C.CH_typ,
Sum(C.MTD_TRCDMA) 'MTD_TRCDMA',
SUM(C.LMTD_TRCDMA)'LMTD_TRCDMA',
'%Growth' = (Round(CAST(sum(MTD_TRCDMA)AS FLOAT)-CAST(sum([LMTD_TRCDMA])AS FLOAT) / CAST(sum([LMTD_TRCDMA])AS FLOAT),2))
from TR_RECHARG C
Left outer Join ER_Main E on C.CRT_Cod=E.CRT_Cod
Left outer...
October 6, 2011 at 2:59 am
To kill a connection you just need to use the KILL statment with processid that you need to Kill.
though I agree with the others that this approach seems a bit...
October 6, 2011 at 2:49 am
Check the dataypes of the parameters and what the data types of the variables are; to make sure that they are consitent with the column data types in the...
October 5, 2011 at 4:40 pm
This sounds like a case of parameter sniffing, where an inefficent plan is being used due to parameters being passed in.
it is explained nicely here
http://www.simple-talk.com/sql/t-sql-programming/parameter-sniffing/"> http://www.simple-talk.com/sql/t-sql-programming/parameter-sniffing/
one of...
October 5, 2011 at 2:24 pm
Steve Jones - SSC Editor (10/5/2011)
Alas, Americans apparently don't stand a chance in soccer or rugby World Cups.
well at least you are guaranteed to win the world series of baseball..
October 5, 2011 at 11:20 am
Steve Jones - SSC Editor (10/5/2011)
October 5, 2011 at 9:08 am
Ray K (10/5/2011)
Well, I noticed some talk on The Thread about World Cup Rugby yesterday!Anyone for rugby chatter here?
Big games on this weekend its all business now we are down...
October 5, 2011 at 9:07 am
Can you post the query and actual execution plan?
Also if your goal is to go from an Index scan to a seek , then this is not always possbile...
October 5, 2011 at 8:08 am
have you tried using the phone-book anaolgy?
October 5, 2011 at 6:20 am
prakash 67108 (10/4/2011)
it must be done through SSIS...
i have a column name ISHOLIDAY in OLEDB..
also i need to check, if the datetime column value from excel sheet is january 1st...
October 4, 2011 at 7:59 am
if you have a staging area in place to write queries you could do this by reading the start data into a varaible from excel,
then use this variable...
October 4, 2011 at 7:32 am
For...loop could do this,
are you able to explain a bit more about what you are trying to do?
October 4, 2011 at 6:42 am
Viewing 15 posts - 166 through 180 (of 2,267 total)