Viewing 15 posts - 8,686 through 8,700 (of 26,490 total)
Your other function would look something like this:
CREATE FUNCTION dbo.hd_iTVF (@s1 varchar(8000), @s2 varchar(8000))
RETURNS TABLE WITH SCHEMABINDING
AS
RETURN(
WITH
nums(n) AS (SELECT ROW_NUMBER() OVER (ORDER BY (SELECT 0)) FROM [master].dbo.spt_values Tally),
matrix ...
March 1, 2013 at 2:09 pm
Alan.B (3/1/2013)
March 1, 2013 at 2:03 pm
mehta.saurabhj (3/1/2013)
Find employees having salary greater than avg salary of their department
The solution was :
select * from student e where salary...
March 1, 2013 at 12:00 pm
Have you considered setting up a history table for the reorg/reindex process so you can review those stats on a daily basis to see if any of the indexes actually...
March 1, 2013 at 11:01 am
You can't. What you can do is install 2008 as a default instance and then migrate the databasse(s) from the named instance to the default instance then uninstall the...
March 1, 2013 at 10:35 am
sqldba_newbie (3/1/2013)
Jeff Moden (3/1/2013)
opc.three (3/1/2013)
Jeff Moden (3/1/2013)
Actually, the change of an index CAN very much change the result especially where UPDATEs are concerned.
I think we covered the OP's question about...
March 1, 2013 at 10:33 am
ben.brugman (3/1/2013)
Jeff Moden (2/26/2013)
March 1, 2013 at 8:31 am
demonfox (3/1/2013)
winmansoft (2/28/2013)
We want sorting sometimes,I think we will stick to
select min[v.date]
from
(select top 100 [date]
from WHERE [date] BETWEEN '01-Jan-2012' and '20-Jan-2013'
order by [date] desc)...
March 1, 2013 at 6:53 am
Without seeing the code we can't give you the answers you want. It is a black box and all we can do is shoot in the dark.
March 1, 2013 at 6:51 am
Brett Phipps (6/21/2011)
Celko
Some version of this mis-use of SQL gets invented again every few months. It is a slow, dangerous mess. Are you familar with the long parameters list idiom?...
March 1, 2013 at 6:34 am
Create a synonym in the database you are trying to run the UDF referencing the UDF in the other database. Use the two-part name of the udf synonym when...
February 28, 2013 at 8:30 pm
When you say you are getting two different results, are you saying that the result sets are different or just ordered differently? If you are talking about order, there...
February 28, 2013 at 6:24 pm
Can't see from here what you see there. There really isn't enough information to help you unless all you want are shots in the dark.
February 28, 2013 at 3:23 pm
Viewing 15 posts - 8,686 through 8,700 (of 26,490 total)