Viewing 15 posts - 3,871 through 3,885 (of 5,103 total)
One of the things I don't like about certifications is that can be very expenssive specially if you plan for more than one and I do agree that so far...
April 21, 2005 at 7:44 am
I am not sure why is that happening to you I am geting 1654 records back from that query
and as long as the numbers and letters like "001A" are zero...
April 20, 2005 at 2:24 pm
OOPS! ![]()
My previous post was wrong! Didn't read the isntructions correctly ![]()
April 20, 2005 at 12:53 pm
Keith,
As you already discovered it is not posible to use dynamic sql inside a function
Can you offer an example of what you...
April 20, 2005 at 12:45 pm
How about ?
select
group1, group2, xref, sum(value1), sum(value2)
from
(select x.Xref, d.group1, d.group2, d.value1, d.value2
from @x x left join @data d on x.xref = d.xref) Subq
group by
group1,
group2,
xref
April 20, 2005 at 12:41 pm
I posted something to get you started not the real deal!
As you can see ron_k already posted some of my errors. I didn't test the query but if you need...
April 20, 2005 at 12:36 pm
I am not going to comment about this design but you should consider changing it ![]()
On the other end I posted the query for...
April 20, 2005 at 11:59 am
Dave you got it!
The idea is that some storeprocedures have being SAVED (compiled) with those options in different settings, sp_dboption works at the database level, any new will get it...
April 20, 2005 at 11:54 am
this can get you started ![]()
Update Tbl
set
Type_1 = Left(AddrInstr,1)
, Type_1_ID = cast(substring(AddrInstr,2,3-charindex(';',AddrInstr,3)) as int)
, Type_2 = case when AddrInstr Like ';P;'...
April 20, 2005 at 11:48 am
Unfortunatley Query Analyzer Object Browser uses sysobjects directly.
The only way would be to rename sysobjects, create a view that uses sysobjects and filter by user permissions and of course the name would be...
April 20, 2005 at 11:28 am
Lee,
Let me simplify your life a little:
Create a view with Referal and Referal_Reference that looks like the example you posted. Then go from there
Cheers!
April 20, 2005 at 10:55 am
Create Table TTT( FieldName varchar(20), Value varchar(20))
insert into TTT (FieldName, Value ) Values ( 'name1', 'david')
insert into TTT (FieldName, Value ) Values ( 'name2', 'jeff')
insert into TTT (FieldName, Value )...
April 20, 2005 at 10:50 am
For some reason (it has happened to me ) reapplying sp3 seems to "cure" these kind of problems sometimes ![]()
April 20, 2005 at 10:33 am
create table #T ( data varchar(255))
insert into #T
exec master..xp_cmdshell 'ipconfig'
select substring(data, charindex(':',data,1)+2, len(data) - charindex(':',data,1))
from #T
where data Like'%IP Address%'
hth
April 20, 2005 at 10:12 am
Viewing 15 posts - 3,871 through 3,885 (of 5,103 total)