Viewing 15 posts - 12,376 through 12,390 (of 15,381 total)
Hi and welcome to SSC! Best thing you can do is get a copy of sql express. Then get a copy of adventureworks database. You can find both of those...
April 17, 2012 at 2:47 pm
capn.hector (4/17/2012)
Sean Lange (4/17/2012)
hbtkp (4/17/2012)
i need to call this value in case...
April 17, 2012 at 1:33 pm
sqlfriends (4/17/2012)
April 17, 2012 at 1:30 pm
hbtkp (4/17/2012)
OK ,IF I CANNOT HEN how can i store my logic which include execute sp and returns 1 valuei need to call this value in case statement
Hi and welcome...
April 17, 2012 at 1:19 pm
hbtkp (4/17/2012)
right now i need 1 solution
i have created 1 sp, and in that i am calling another sp.
now
this sp returns 1 float value
that...
April 17, 2012 at 12:33 pm
That's the way I read it too Lynn. Pretty clear that is how the assignment was made.
April 17, 2012 at 12:05 pm
Or even better get rid of that cursor entirely. There does not appear to be any reason for a cursor from what you have posted. If you want some help...
April 17, 2012 at 11:56 am
PiMané (4/17/2012)
Sean Lange (4/17/2012)
April 17, 2012 at 11:29 am
If at all possible you should not use ntext. It deprecated and the performance is horrendous. Instead you should use nvarchar(max).
April 17, 2012 at 8:53 am
When looking at your query again...do you have anything resembling even medium amounts of data. Your where clause has at least 2 UDFs. The performance will degrade exponentially as the...
April 17, 2012 at 8:49 am
It sounds like all you need is a join to that table. Without ddl and some sample data it is pretty hard to tell.
April 17, 2012 at 8:47 am
I agree. Unless this is an extremely complicated report there really shouldn't need to be queries that take more than 30 seconds. More often than not when devs start exploring...
April 17, 2012 at 8:43 am
Not sure I understand. You are wanting to copy production dbs back to dev? Just back them up and restore them on dev.
April 17, 2012 at 8:37 am
Just a shot in the dark because it is pretty unclear what you want for output.
SELECT main.dq_src_id,
main.dq_org_dist_id,
...
April 17, 2012 at 8:09 am
Viewing 15 posts - 12,376 through 12,390 (of 15,381 total)