Viewing 15 posts - 301 through 315 (of 325 total)
You are good and you are fast....thanks 🙂
July 22, 2010 at 7:33 am
One alternative I found is to use Union All. Looking for more which makes use of sys.syscomments....
July 16, 2010 at 12:28 am
I actually searched it once Gila mentioned it and went through it 🙂
A long reading nicely put.
July 12, 2010 at 3:58 am
Thnk for your valuable inputs. After reading all this, doing it in one shot thru script has become a strict no-2 for me. So I am thinking of doing it...
July 9, 2010 at 7:27 am
Looks like every time you populate your temp table, you get fresh records which meets <> criteria and gets updated.
It could be of help if you can paste complete code(where...
July 9, 2010 at 5:14 am
Doobya
With no offence, let me put my understanding here:
When you do exec dbo.spTryTestA, you get
spTryTestA:1
Msg 50000, Level 16, State 1, Procedure spTryTestA, Line 5
spTryTestA:2
spTryTestA:3
This is because u raised high severity...
July 9, 2010 at 4:58 am
You can try using Proxy account. You 'll need to create credentials and then proxy account which just have permissions mentioned by you
Here is a link on how to do...
July 5, 2010 at 2:59 am
Basically what I am trying to get is open 99 sessions of SQL server and run some queries in each session.
But I dont want to open 99 connections manually.I am...
July 5, 2010 at 2:52 am
One way that comes to my mind is:
select a.Custid ,a.CustName,a.CustPhone,a.ContactPhone from (
select row_number() over (partition by a.Custid order by calldate desc ) rwnm,a.Custid ,a.CustName,a.CustPhone,b.CallDate,b.ContactPhone
from @CustMaster a LEFT JOIN @CustCalls b...
July 5, 2010 at 12:14 am
replication can be an alternative
June 30, 2010 at 6:12 am
See if you can do it this way:
CREATE TABLE tbParticionada
( id int identity(1,1) ,
[date] DATETIME NOT NULL,
mth as MONTH(date) PERSISTED
)
ON PS_MonthRange (mth) -- does not...
June 29, 2010 at 3:43 am
Well in this case, there is nothing which SQL Server can automatically generate for your customers and which they can understand as a layman.
Looks like they want some graphical representation...
June 29, 2010 at 3:24 am
Thanks for the reply..it makes me wonder why at times we dont have to supply a placeholder and it still works
June 28, 2010 at 5:15 am
yes, you can do that but you'll need to get into excel programming a bit where in you make a database connection and call your proc.
June 23, 2010 at 12:32 am
I didnt see that OPENQUERY is another way......thanks fo rthat too...
June 22, 2010 at 7:05 am
Viewing 15 posts - 301 through 315 (of 325 total)