Viewing 15 posts - 151 through 165 (of 328 total)
I got the same results as Dung Dinh when I set up a similar test scenario, I only got one row from the resulting query. You might want to look...
May 28, 2012 at 9:39 am
Heres a fairly literal approach. However, I'm sure theres more interesting ways to go about it!
select s.id, s.name1,s.name2,d.[desc]
from dbo.Test_Join_Source s
inner join dbo.Test_Join_Destination d
on
s.name1=d.name1
union
select s.id, s.name1,s.name2,d.[desc]
from dbo.Test_Join_Source s
inner join dbo.Test_Join_Destination...
May 28, 2012 at 9:04 am
ALZDBA (5/21/2012)
No doubt, change the code or...
May 21, 2012 at 2:55 pm
Lowell (5/21/2012)
with a TOP, it can shortcut and convert fewer...
May 21, 2012 at 12:49 pm
when defining your cursor, maybe you could use nvarchar(max) instead of varchar(max), just a thought!
DECLARE Exp_cursor CURSOR for
select x.nodeValue
from
(
-- this line I would change each occurrence of 'varchar(max)' to...
May 15, 2012 at 2:29 pm
I would have a first look at the networking side. How does remote desktop to the server work for instance, does that work fine?
May 15, 2012 at 10:17 am
Steve Thompson-454462 (5/3/2012)
patrickmcginnis59 (5/3/2012)
Steve Thompson-454462 (4/27/2012)
I'm curious as to why an attribute such as Student is getting it's own table. Is there more Student-related data that needs to be tracked?
I...
May 3, 2012 at 12:03 pm
Steve Thompson-454462 (4/27/2012)
I'm curious as to why an attribute such as Student is getting it's own table. Is there more Student-related data that needs to be tracked?
I would have a...
May 3, 2012 at 10:39 am
Sean Lange (5/2/2012)
patrickmcginnis59 (5/2/2012)
Sean Lange (5/2/2012)
May 2, 2012 at 10:46 am
Sean Lange (5/2/2012)
May 2, 2012 at 10:26 am
rarara (4/30/2012)
(snip)
1) Is there any way for me to determine the size of TEMPDB needed based on the table sizes, and how many rows might be getting selected prior to...
April 30, 2012 at 12:02 pm
I know that when I write report queries, I often use:
SELECT COL1, COL2, COL_W_CRITERIA WHERE COL_W_CRITERIA = @criteriaparam OR @criteriaparam = 'all'
Then if the user enters 'all' for the criteria...
April 24, 2012 at 11:05 am
What I would do is ask the vendor how they prefer their application's database indexes get maintained without interfering with their cursors and then follow through with what they advise.
April 24, 2012 at 10:55 am
I ran it by chopping off the insert portion as I didn't have a table definition and the code seemed to run ok, returning a bunch of rows with date...
April 24, 2012 at 9:45 am
Viewing 15 posts - 151 through 165 (of 328 total)