Viewing 15 posts - 76 through 90 (of 94 total)
Hi Ryan,
It works wonderfully. Thanks for your patience and help!
March 28, 2006 at 1:06 pm
Ryan,
"208,2294,2341,399" is OK. 208,399,2294,2341 is OK too.
In the database there is a code table:
ID description
----------------------
208 Project208
399 Project399
2294 Project2294
2341 Project2341
What I will have to do next is take 208,2294,2341,399 or
208,399,2294,2341 and replace...
March 28, 2006 at 10:30 am
Ryan,
"208,2294,2341,399" is OK. 208,399,2294,2341 is OK too.
In the database there is a code table:
ID description
----------------------
208 Project208
399 Project399
2294 Project2294
2341 Project2341
What I will have to do next is take 208,2294,2341,399 or
208,399,2294,2341 and replace...
March 28, 2006 at 10:30 am
Hi Ryan,
Thanks for proposing some solutions. However my data comes in some rather ad-hoc format.
Samples below did not yield expected results.
declare @t table (Col1 int, Col2 varchar(100))
insert @t
select 917,...
March 28, 2006 at 10:04 am
Sushila,
1. Col2 is of data type NTEXT so there can be any number of values in it.
2. Yes the values stored in Col2 are always type integer and separated by...
March 28, 2006 at 9:54 am
I will look into coding NOLOCK on all select to avoid impact on the updates. Thanks for the tip, TDuffy.
February 20, 2006 at 9:43 am
Thank you, GilaMonster.
February 20, 2006 at 9:02 am
KH,
What will have to change when the table in step 1 is laid out as below:
Col 1 (type Int) : UserID
Col 2-12(type ntext): string of integers.
So a sample data will...
February 18, 2006 at 9:51 am
Thank you, KH for sharing your knowledge and script code. That works like a charm.
February 18, 2006 at 9:30 am
You can try this SQL query:
select * FROM OPENROWSET('ADSDSOObject',
'adsdatasource;', 'SELECT cn, mail, co, distinguishedName, displayName
FROM ''xxxxxxxxxxxxxxxxxx'' where objectClass = ''User'' ')
Note that xxxxxxxxxxxxxxxx can be
GC://something.com or LDAP://something.com where something.com...
February 17, 2006 at 6:25 pm
Thank you, Michelle. That works fine.
February 10, 2006 at 4:35 pm
Many thanks to both Fred and Charles. Both suggestions work well.
January 25, 2006 at 1:39 pm
It works like a charm. Thank you, Farrell.
October 12, 2005 at 1:40 pm
I like your approach. It will probably help with performance.
I may have to ask more questions with implementing it but I think this implementation calls for my existing SP1-SP6 to return...
October 12, 2005 at 11:56 am
I am looking for anything that is "simple and clean". My approach at this time is terrible.
Step 1: create COUNTSP1-COUNTSP6. What COUNTSP1 does is to
select count(*) from (exact same select...
October 12, 2005 at 10:50 am
Viewing 15 posts - 76 through 90 (of 94 total)