Viewing 15 posts - 991 through 1,005 (of 1,124 total)
Stored Procedures return values by means of parameters and not by return statement...The return statement in a procedure marks the end of execution and also the execution status of...
October 27, 2007 at 9:55 am
Will the values in @AnswerList always be available in PrescreenResponses table?
If no, then you have to change this SET @Answer = @Answer + ', ' + @TempAnswer
assignment statement...
October 27, 2007 at 7:50 am
Miranda Johnson (10/27/2007)
SELECT udf_GetCheckboxAnswers (218, '2, 4, 5') AS AnswerString
The intended output in this example would be
Tuesday, Thursday, Friday
The second one I showed...
October 27, 2007 at 7:13 am
I think the problem is that you have not initialized any value for the variable @Answer which defaults to NULL .....
October 27, 2007 at 3:47 am
Here is the statement which will give the no. of hits by page type....
SELECT[LANGUAGE], COUNT( * ) AS [COUNT]
FROM(
SELECT( CASE
WHEN CHARINDEX( '.', REVERSE( [http_referrer] ) ) > 0
THEN...
October 27, 2007 at 3:09 am
You can build a select statement like....
select t1.snapshot_time, t2.snapshot_time, cast( varchar(10), t1.snapshot_time, 101) + '-' + cast( varchar(10), t2.snapshot_time, 101) as snapshot_period
from mytable t1 inner join mytable t2 on t1.tank_code...
October 26, 2007 at 8:20 am
Just add a WHERE clause such as 1 = 2 or TOP 0 in SELECT to return no rows...
October 26, 2007 at 3:31 am
Yes, you can upgrade your 2000 SE instance to 2005 EE, DE or SE...and also you can have multiple instances of sql server running a single box....
October 25, 2007 at 7:57 am
SET @CheckCount = (SELECT COUNT(*) FROM TempTable WHERE Date IN (SELECT DISTINCT Date FROM SourceTable))
This statement will probably need a scan of the entire table or the clustered index....
I suggest...
October 25, 2007 at 7:42 am
You have to start your instance in single user mode by activating -m switch and then you can add logins/users through sqlcmd utility
October 25, 2007 at 7:00 am
Alergy (10/25/2007)
October 25, 2007 at 6:40 am
EXISTS will only check for the existence of rows in the sub-query and it will not return any rows....and also it doen't matter if you specify a single column or...
October 25, 2007 at 5:21 am
Have you tried this one?
SELECT * FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0','Data Source=G:\;Properties="Text;HDR=YES;FMT=Delimited"')...[jdm.001_aff.csv]
October 25, 2007 at 5:15 am
And fortunately it does support organizing servers into groups in means of registered server explorer🙂
October 25, 2007 at 5:06 am
- am I right in thinking that if #FindIDForMaxValue is actually a dynamicallygenerated SQL query, then simply putting it into the subquery as well would be extremely inefficient?
The query which...
October 25, 2007 at 4:56 am
Viewing 15 posts - 991 through 1,005 (of 1,124 total)