Viewing 15 posts - 4,456 through 4,470 (of 5,103 total)
Create a table With SSN and an identity column. Make sure that the SSN is the Primary Key and use the table as a Lookup
April 14, 2004 at 11:01 am
Select STUDENT
, Min(CLASS1) as Cls1
, Min(CLASS2) as Cls2
, Min(CLASS3) as Cls3
, Min(CLASS4) as Cls4
, Min(CLASS5) as Cls5
, Min(CLASS6) as Cls6
From #TEMP
Group by STUDENT
I would...
April 8, 2004 at 4:12 pm
The Q is just to Alias the Subquery
April 8, 2004 at 3:36 pm
select EmployerID,EmployeeID,EmployeeInfo, Count(*) as TCnt
from [YourTable]
group by EmployerID,EmployeeID,EmployeeInfo
Having Count(*) > 1
order by EmployeeID,TCnt desc
April 8, 2004 at 3:30 pm
how about :
select count(distinct fund)
FROM
((select fund from tableA Where ....)
Union
(select fund from tableB where....)) Q
April 8, 2004 at 3:18 pm
It is really small !
Chris, I am glad to hear from you!
The other side of the story is that then 24x7 is...
April 7, 2004 at 7:24 am
THANK YOU Guys for your input!!!!
When a Patch has to be applied we apply patches to the pasive, fail over then to the other apply patch there and we...
April 5, 2004 at 1:22 pm
SQLBill,
Thank you very much for your input. I would do exactly as you mentioned but I am NOT allowed to change ANY SQL Code in production until tested and validated on...
April 5, 2004 at 8:58 am
The probelm seems to be that a procedure got slower (a lot) and due to that I think an index defrag would help. Now, I am NOT allowed to stop...
April 5, 2004 at 6:43 am
you can create a function to parse the string.
this one was taken from the script library on this site and adapted to your case:
CREATE FUNCTION dbo.udf_GetValueFromList( @List varchar(1000), @position int)
RETURNS...
April 1, 2004 at 3:48 pm
you may want to consider this script
exec sp_MSforeachdb 'use ?
insert into Admin.dbo.contigInfo
( ObjectName ,
ObjectId ,
IndexName,
IndexId,
...
April 1, 2004 at 2:31 pm
Just Create A tempTable with the structure of the Recordset returned by the sp and use the insert exec construct like:
declare @TimesToRun int
April 1, 2004 at 2:16 pm
you can create ethier a COM object and use sp_OA procedures to call it or write an extended stored procedure install it on the master and call it using the...
April 1, 2004 at 12:00 pm
How about a Lookup Table
Location2, Grade, TeacherID, SPercentage
And join that to tblMMrptStanResultsGrade
March 30, 2004 at 3:31 pm
I don't think you can map a network drive from a service! Mapped drives info is strored at profile level which by the way services are not aware of. That...
March 30, 2004 at 3:17 pm
Viewing 15 posts - 4,456 through 4,470 (of 5,103 total)