Showing posts with label articles. Show all posts
Showing posts with label articles. Show all posts

Thursday, March 8, 2012

AS2005 OWC11 HTTP - Connection Problem.

I am trying to get an OWC11 pivot table ActiveX component to work over the internet with AS2005. I have read so many articles, and I have moved forward, but there doesn't seem to be any final answer.

Here is the set up. 1 Server that is running IIS6, WIN2003, SQL2005/SP1. I set up the connection string as

PivotTable1.ConnectionString = Provider=MSOLAP.3;Data Source=http://<ip to server>/olap/msdmpump.dll;Initial Catalog=<olapDatabaseName>
PivotTable1.DataMember = "<CUBE NAME>"

I set up the HTTP pump described in this article: http://www.microsoft.com/technet/prodtechnol/sql/2005/httpasws.mspx

I set up an IUSR role for the cube to be read.

I set up SQL and AS for remote access over TCP/IP.

I even set the AS2005 for anonymous access. I wll turn this back after the test.

Everything works fine at the intranet level, but as soon as I'm outside the domain.. boom, it won't connect.. I ran the SQL profiler, and gotten the cryptic XML parsingg error for IUSR log-in. At any rate, I'm all out of ideas and tricks.

I saw similar lines of discussion, but never a successful conclusion as of yet. Any suggestions would be much appreciated.

-Young K

<html xmlns="http://www.w3.org/1999/xhtml" >
<head
<title>Test</title>
</head>

<body>

<object classid="clsid:0002E55a-0000-0000-C000-000000000046" id="PivotTable1">
<param name="XMLData" value="<xml
xmlns:x="urn:schemas-microsoft-com:office:excel">
<x:PivotTable>
<x:OWCVersion>11.0.0.5531 </x:OWCVersion>
<x:DisplayScreenTips/>
<x:CubeProvider>msolap</x:CubeProvider>
<x:CacheDetails/>
<x:PivotView>
<x:IsNotFiltered/>
</x:PivotView>
</x:PivotTable>
</xml>">
<table width='100%' cellpadding='0' cellspacing='0' border='0'
height='8'><tr><td bgColor='#336699' height='25' width='10%'> </td><td
bgColor='#666666'width='85%'><font face='Tahoma' color='white' size='4'><b>
Missing: Microsoft Office Web Components</b></font></td></tr><tr><td
bgColor='#cccccc' width='15'> </td><td bgColor='#cccccc' width='500px'><br>
<font face='Tahoma' size='2'>This page requires the Microsoft Office Web
Components.<p align='center'> <a
href='http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5
-e0fd290d4b76&DisplayLang=en'>Click
here to install Microsoft Office Web Components.</a>.

</font>

<font
face='Tahoma' size='2'>This page also requires Microsoft Internet Explorer
5.01 or higher.

<p align='center'><a
href='http://www.microsoft.com/windows/ie/default.htm'> Click here to install
the latest Internet Explorer</a>.</font><br>&nbsp;</td></tr></table>
</object>
<br>
<br>
<input type="button" id="button1" value="click here">
<script language="vbscript">
sub button1_onclick()
PivotTable1.ConnectionString = Provider=MSOLAP.3;Data Source=http://<ip to server>/olap/msdmpump.dll;Initial Catalog=<olapDatabaseName>
PivotTable1.DataMember = "<CUBE NAME>"

Dim oPivot
Set oPivot = PivotTable1.Object
'Set the timeout to 10 secondsr
oPivot.Connection.CommandTimeout = 10

end sub
</script>

</body>
</html>

My bad. I installed the OLEDB 9 on the client machine and it works like a charm. Go me, go.

PivotTable1.ConnectionString = "Provider=MSOLAP.3;Persist Security Info=True;Data Source=http://[target server]/olap/msmdpump.dll;Initial Catalog=PNGReportOLAP;User Id=[user id];Password=[password]"

I used that connection string. Yowsers.. It has taken me two days. But it is working. Have fun, y'all.

Young K.

|||

My bad. I installed the OLEDB 9 on the client machine and it works like a charm. Go me, go.

PivotTable1.ConnectionString = "Provider=MSOLAP.3;Persist Security Info=True;Data Source=http://[target server]/olap/msmdpump.dll;Initial Catalog=PNGReportOLAP;User Id=[user id];Password=[password]"

I used that connection string. Yowsers.. It has taken me two days. But it is working. Have fun, y'all.

Young K.

|||

My bad. I installed the OLEDB 9 on the client machine and it works like a charm. Go me, go.

PivotTable1.ConnectionString = "Provider=MSOLAP.3;Persist Security Info=True;Data Source=http://[target server]/olap/msmdpump.dll;Initial Catalog=PNGReportOLAP;User Id=[user id];Password=[password]"

I used that connection string. Yowsers.. It has taken me two days. But it is working. Have fun, y'all.

Young K.

|||

My bad. I installed the OLEDB 9 on the client machine and it works like a charm. Go me, go.

PivotTable1.ConnectionString = "Provider=MSOLAP.3;Persist Security Info=True;Data Source=http://[target server]/olap/msmdpump.dll;Initial Catalog=PNGReportOLAP;User Id=[user id];Password=[password]"

I used that connection string. Yowsers.. It has taken me two days. But it is working. Have fun, y'all.

Young K.

|||I went into same problem long ago, what i did was giving the IUSR a permission on the Analysis server. I think its a bad idea, but as you said, I was running out of ideas "any comment is welcomed". I have some issues regarding initializing the Pivote table client side, its some how slow. Any ideas are welcomed|||

I am trying to do what you did.The xml string that is assigned to PivotTable.XMLData.Thexml string is shown below. I use analysis services and sql server 2000.

<xml xmlns:x="urnTongue Tiedchemas-microsoft-comSurpriseffice:excel">

- <xStick out tongueivotTable>

<xSurpriseWCVersion>12.0.0.4518</xSurpriseWCVersion>

<x:NoDisplayAlerts />

<xBig SmileisplayScreenTips />

<x:MaxHeight>523</x:MaxHeight>

<x:MaxWidth>923</x:MaxWidth>

<x:CubeProvider>msolap.2</x:CubeProvider>

<xBig SmileisplayFieldList />

<x:CacheDetails />

<x:ConnectionString>Provider=SQLOLEDB;Cache Authentication=False;Initial Catalog=Test_OLAP;Data Source=http://<ip>/Bin/msdmpump.dll; Impersonation Level=Impersonate;Mode=ReadWrite;Auto Synch Period=20000;Default Isolation Mode=0;Default MDX Visual Mode=0;MDX Compatibility=0;MDX Unique Name Style=0;Non Empty Threshold=0;SQLQueryMode=Calculated;Safety Options=1;Secured Cell Value=0;SQL Compatibility=0;Compression Level=0;Real Time Olap=False;Packet Size=4096</x:ConnectionString>

<xBig SmileataMember>TestCube</xBig SmileataMember>

- <xStick out tongueivotView>

<x:IsNotFiltered />

<x:UseProviderFormatting />

</xStick out tongueivotView>

</xStick out tongueivotTable>

</xml>

I am not sure what you mean by instaling OLEDB 9 solves your problem.In my case,I can see the embeded Pivot table and the Pivot table field list.But am not seeing the dimensions.Rather an icon with a plug is shown.I am able to acces the ms.asp page on the <ip> server. Is there any way to debug and find out the problem.

AS2005 OWC11 HTTP - Connection Problem.

I am trying to get an OWC11 pivot table ActiveX component to work over the internet with AS2005. I have read so many articles, and I have moved forward, but there doesn't seem to be any final answer.

Here is the set up. 1 Server that is running IIS6, WIN2003, SQL2005/SP1. I set up the connection string as

PivotTable1.ConnectionString = Provider=MSOLAP.3;Data Source=http://<ip to server>/olap/msdmpump.dll;Initial Catalog=<olapDatabaseName>
PivotTable1.DataMember = "<CUBE NAME>"

I set up the HTTP pump described in this article: http://www.microsoft.com/technet/prodtechnol/sql/2005/httpasws.mspx

I set up an IUSR role for the cube to be read.

I set up SQL and AS for remote access over TCP/IP.

I even set the AS2005 for anonymous access. I wll turn this back after the test.

Everything works fine at the intranet level, but as soon as I'm outside the domain.. boom, it won't connect.. I ran the SQL profiler, and gotten the cryptic XML parsingg error for IUSR log-in. At any rate, I'm all out of ideas and tricks.

I saw similar lines of discussion, but never a successful conclusion as of yet. Any suggestions would be much appreciated.

-Young K

<html xmlns="http://www.w3.org/1999/xhtml" >
<head
<title>Test</title>
</head>

<body>

<object classid="clsid:0002E55a-0000-0000-C000-000000000046" id="PivotTable1">
<param name="XMLData" value="<xml
xmlns:x="urn:schemas-microsoft-com:office:excel">
<x:PivotTable>
<x:OWCVersion>11.0.0.5531 </x:OWCVersion>
<x:DisplayScreenTips/>
<x:CubeProvider>msolap</x:CubeProvider>
<x:CacheDetails/>
<x:PivotView>
<x:IsNotFiltered/>
</x:PivotView>
</x:PivotTable>
</xml>">
<table width='100%' cellpadding='0' cellspacing='0' border='0'
height='8'><tr><td bgColor='#336699' height='25' width='10%'> </td><td
bgColor='#666666'width='85%'><font face='Tahoma' color='white' size='4'><b>
Missing: Microsoft Office Web Components</b></font></td></tr><tr><td
bgColor='#cccccc' width='15'> </td><td bgColor='#cccccc' width='500px'><br>
<font face='Tahoma' size='2'>This page requires the Microsoft Office Web
Components.<p align='center'> <a
href='http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5
-e0fd290d4b76&DisplayLang=en'>Click
here to install Microsoft Office Web Components.</a>.

</font>

<font
face='Tahoma' size='2'>This page also requires Microsoft Internet Explorer
5.01 or higher.

<p align='center'><a
href='http://www.microsoft.com/windows/ie/default.htm'> Click here to install
the latest Internet Explorer</a>.</font><br>&nbsp;</td></tr></table>
</object>
<br>
<br>
<input type="button" id="button1" value="click here">
<script language="vbscript">
sub button1_onclick()
PivotTable1.ConnectionString = Provider=MSOLAP.3;Data Source=http://<ip to server>/olap/msdmpump.dll;Initial Catalog=<olapDatabaseName>
PivotTable1.DataMember = "<CUBE NAME>"

Dim oPivot
Set oPivot = PivotTable1.Object
'Set the timeout to 10 secondsr
oPivot.Connection.CommandTimeout = 10

end sub
</script>

</body>
</html>

My bad. I installed the OLEDB 9 on the client machine and it works like a charm. Go me, go.

PivotTable1.ConnectionString = "Provider=MSOLAP.3;Persist Security Info=True;Data Source=http://[target server]/olap/msmdpump.dll;Initial Catalog=PNGReportOLAP;User Id=[user id];Password=[password]"

I used that connection string. Yowsers.. It has taken me two days. But it is working. Have fun, y'all.

Young K.

|||

My bad. I installed the OLEDB 9 on the client machine and it works like a charm. Go me, go.

PivotTable1.ConnectionString = "Provider=MSOLAP.3;Persist Security Info=True;Data Source=http://[target server]/olap/msmdpump.dll;Initial Catalog=PNGReportOLAP;User Id=[user id];Password=[password]"

I used that connection string. Yowsers.. It has taken me two days. But it is working. Have fun, y'all.

Young K.

|||

My bad. I installed the OLEDB 9 on the client machine and it works like a charm. Go me, go.

PivotTable1.ConnectionString = "Provider=MSOLAP.3;Persist Security Info=True;Data Source=http://[target server]/olap/msmdpump.dll;Initial Catalog=PNGReportOLAP;User Id=[user id];Password=[password]"

I used that connection string. Yowsers.. It has taken me two days. But it is working. Have fun, y'all.

Young K.

|||

My bad. I installed the OLEDB 9 on the client machine and it works like a charm. Go me, go.

PivotTable1.ConnectionString = "Provider=MSOLAP.3;Persist Security Info=True;Data Source=http://[target server]/olap/msmdpump.dll;Initial Catalog=PNGReportOLAP;User Id=[user id];Password=[password]"

I used that connection string. Yowsers.. It has taken me two days. But it is working. Have fun, y'all.

Young K.

|||I went into same problem long ago, what i did was giving the IUSR a permission on the Analysis server. I think its a bad idea, but as you said, I was running out of ideas "any comment is welcomed". I have some issues regarding initializing the Pivote table client side, its some how slow. Any ideas are welcomed|||

I am trying to do what you did.The xml string that is assigned to PivotTable.XMLData.Thexml string is shown below. I use analysis services and sql server 2000.

<xml xmlns:x="urnTongue Tiedchemas-microsoft-comSurpriseffice:excel">

- <xStick out tongueivotTable>

<xSurpriseWCVersion>12.0.0.4518</xSurpriseWCVersion>

<x:NoDisplayAlerts />

<xBig SmileisplayScreenTips />

<x:MaxHeight>523</x:MaxHeight>

<x:MaxWidth>923</x:MaxWidth>

<x:CubeProvider>msolap.2</x:CubeProvider>

<xBig SmileisplayFieldList />

<x:CacheDetails />

<x:ConnectionString>Provider=SQLOLEDB;Cache Authentication=False;Initial Catalog=Test_OLAP;Data Source=http://<ip>/Bin/msdmpump.dll; Impersonation Level=Impersonate;Mode=ReadWrite;Auto Synch Period=20000;Default Isolation Mode=0;Default MDX Visual Mode=0;MDX Compatibility=0;MDX Unique Name Style=0;Non Empty Threshold=0;SQLQueryMode=Calculated;Safety Options=1;Secured Cell Value=0;SQL Compatibility=0;Compression Level=0;Real Time Olap=False;Packet Size=4096</x:ConnectionString>

<xBig SmileataMember>TestCube</xBig SmileataMember>

- <xStick out tongueivotView>

<x:IsNotFiltered />

<x:UseProviderFormatting />

</xStick out tongueivotView>

</xStick out tongueivotTable>

</xml>

I am not sure what you mean by instaling OLEDB 9 solves your problem.In my case,I can see the embeded Pivot table and the Pivot table field list.But am not seeing the dimensions.Rather an icon with a plug is shown.I am able to acces the ms.asp page on the <ip> server. Is there any way to debug and find out the problem.

Saturday, February 25, 2012

Articles or Blogs

I am aware how symmetric and assymetric keys are used in sql.
Can some one point me to good articles on what are symmetric and assymetric
keys ?.
thxhttp://support.microsoft.com/defaul...b;EN-US;q246071
or google: symmetric and asymmetric keys
"skg" <skg@.yahoo.com> wrote in message
news:ePKOm9eSGHA.4740@.TK2MSFTNGP14.phx.gbl...
>I am aware how symmetric and assymetric keys are used in sql.
> Can some one point me to good articles on what are symmetric and
> assymetric keys ?.
> thx
>|||skg wrote:
> I am aware how symmetric and assymetric keys are used in sql.
> Can some one point me to good articles on what are symmetric and assymetri
c
> keys ?.
> thx
Take a look at some of the stuff in Laurentiu Cristofor's blog.
http://blogs.msdn.com/lcris/
David Portas, SQL Server MVP
Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.
SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--|||Thanks All.
"David Portas" <REMOVE_BEFORE_REPLYING_dportas@.acm.org> wrote in message
news:1142625992.469109.200260@.j33g2000cwa.googlegroups.com...
> skg wrote:
> Take a look at some of the stuff in Laurentiu Cristofor's blog.
> http://blogs.msdn.com/lcris/
> --
> David Portas, SQL Server MVP
> Whenever possible please post enough code to reproduce your problem.
> Including CREATE TABLE and INSERT statements usually helps.
> State what version of SQL Server you are using and specify the content
> of any error messages.
> SQL Server Books Online:
> http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
> --
>

Articles on SQL Server capacity

I have been doing some reading for a project comparing various RDBMS and I
have read that SQL Server is not very stable for DBs over 300GB but I have
also read about terrabyte-plus databases running just fine. Are there any
recommendations or articles from Microsoft about the capacity of SQL Server
(2000 or 2005)?Hi
Probably you can check this:
http://chanduas.blogspot.com/2005/05/maximum-capacity-specifications.html
please let me know if you have any questions
--
best Regards,
Chandra
http://chanduas.blogspot.com/
http://groups.msn.com/SQLResource/
---
"Robert Kinesta" wrote:
> I have been doing some reading for a project comparing various RDBMS and I
> have read that SQL Server is not very stable for DBs over 300GB but I have
> also read about terrabyte-plus databases running just fine. Are there any
> recommendations or articles from Microsoft about the capacity of SQL Server
> (2000 or 2005)?|||> I have read that SQL Server is not very stable for DBs over 300GB
Sounds like either advocacy or marketing misinformation. I have worked
on and know of many SQL Server databases that are much larger. Equally,
bad design or improper hardware can defeat a database of any size.
Take a look at:
http://www.microsoft.com/sql/techinfo/administration/2000/scalability.mspx
--
David Portas
SQL Server MVP
--

Articles on SQL Server capacity

I have been doing some reading for a project comparing various RDBMS and I
have read that SQL Server is not very stable for DBs over 300GB but I have
also read about terrabyte-plus databases running just fine. Are there any
recommendations or articles from Microsoft about the capacity of SQL Server
(2000 or 2005)?
Hi
Probably you can check this:
http://chanduas.blogspot.com/2005/05...fications.html
please let me know if you have any questions
best Regards,
Chandra
http://chanduas.blogspot.com/
http://groups.msn.com/SQLResource/
"Robert Kinesta" wrote:

> I have been doing some reading for a project comparing various RDBMS and I
> have read that SQL Server is not very stable for DBs over 300GB but I have
> also read about terrabyte-plus databases running just fine. Are there any
> recommendations or articles from Microsoft about the capacity of SQL Server
> (2000 or 2005)?
|||> I have read that SQL Server is not very stable for DBs over 300GB
Sounds like either advocacy or marketing misinformation. I have worked
on and know of many SQL Server databases that are much larger. Equally,
bad design or improper hardware can defeat a database of any size.
Take a look at:
http://www.microsoft.com/sql/techinf...alability.mspx
David Portas
SQL Server MVP

Articles on SQL Server capacity

I have been doing some reading for a project comparing various RDBMS and I
have read that SQL Server is not very stable for DBs over 300GB but I have
also read about terrabyte-plus databases running just fine. Are there any
recommendations or articles from Microsoft about the capacity of SQL Server
(2000 or 2005)?Hi
Probably you can check this:
http://chanduas.blogspot.com/2005/0...ifications.html
please let me know if you have any questions
best Regards,
Chandra
http://chanduas.blogspot.com/
http://groups.msn.com/SQLResource/
---
"Robert Kinesta" wrote:

> I have been doing some reading for a project comparing various RDBMS and I
> have read that SQL Server is not very stable for DBs over 300GB but I have
> also read about terrabyte-plus databases running just fine. Are there any
> recommendations or articles from Microsoft about the capacity of SQL Serve
r
> (2000 or 2005)?|||> I have read that SQL Server is not very stable for DBs over 300GB
Sounds like either advocacy or marketing misinformation. I have worked
on and know of many SQL Server databases that are much larger. Equally,
bad design or improper hardware can defeat a database of any size.
Take a look at:
http://www.microsoft.com/sql/techin...calability.mspx
David Portas
SQL Server MVP
--

articles on sql 2005

Not an article, but the book Pro SQL Server 2005 is the best I've found thus
far to show all the new features.
ISBN: 1-59059-477-0
"noam" <imss@.netvision.net.il> wrote in message
news:1150633683.695303.17100@.y41g2000cwy.googlegroups.com...
> Hi all
> i'm looking for good articles to learned about administration and
> develope on sql 2005
> Thanks
>Hi all
i'm looking for good articles to learned about administration and
develope on sql 2005
Thanks|||Not an article, but the book Pro SQL Server 2005 is the best I've found thus
far to show all the new features.
ISBN: 1-59059-477-0
"noam" <imss@.netvision.net.il> wrote in message
news:1150633683.695303.17100@.y41g2000cwy.googlegroups.com...
> Hi all
> i'm looking for good articles to learned about administration and
> develope on sql 2005
> Thanks
>

articles on sql 2005

Hi all
i'm looking for good articles to learned about administration and
develope on sql 2005
ThanksNot an article, but the book Pro SQL Server 2005 is the best I've found thus
far to show all the new features.
ISBN: 1-59059-477-0
"noam" <imss@.netvision.net.il> wrote in message
news:1150633683.695303.17100@.y41g2000cwy.googlegroups.com...
> Hi all
> i'm looking for good articles to learned about administration and
> develope on sql 2005
> Thanks
>

Articles on performance comparisons of sql2k5 on x32 and x64

We are looking for performance comparisons between SQL Server 2005 x32 and
x64.
Any out there?Hi,
Microsoft has a webccast showing the perf differences, watch that an
you'll see SQL2005 x64 SCREEEEEEEM , yeah a huge difference by man
miles.
64 bit has monster performance gains.
Regards
Anthon
--
9anthony
----
9anthony9's Profile: http://www.dbtalk.net/m1
View this thread: http://www.dbtalk.net/t29047

Articles on performance comparisons of sql2k5 on x32 and x64

We are looking for performance comparisons between SQL Server 2005 x32 and
x64.
Any out there?
Hi,
Microsoft has a webccast showing the perf differences, watch that and
you'll see SQL2005 x64 SCREEEEEEEM , yeah a huge difference by many
miles.
64 bit has monster performance gains.
Regards
Anthony
9anthony9
9anthony9's Profile: http://www.dbtalk.net/m12
View this thread: http://www.dbtalk.net/t290479

Articles on performance comparisons of sql2k5 on x32 and x64

We are looking for performance comparisons between SQL Server 2005 x32 and
x64.
Any out there?Hi,
Microsoft has a webccast showing the perf differences, watch that and
you'll see SQL2005 x64 SCREEEEEEEM , yeah a huge difference by many
miles.
64 bit has monster performance gains.
Regards
Anthony
9anthony9
---
9anthony9's Profile: http://www.dbtalk.net/m12
View this thread: http://www.dbtalk.net/t290479

Articles on foreach loop container over dataflow task?

Hi everyone,

do you know any articles on foreach loop container that loops over a dataflow task...pls tell me....

thanks in advance,

Praveen Dayanithi wrote:

Hi everyone,

do you know any articles on foreach loop container that loops over a dataflow task...pls tell me....

thanks in advance,

I presume that you mean a ForEach loop that contains a data flow.

Enumerating files in a Foreach loop
(http://blogs.conchango.com/jamiethomson/archive/2005/05/30/1489.aspx)

-Jamie

|||

Hi,

Thanks Jamie...

But i was looking for articles that involves foreach loop container that has a data flow task...

By saying dataflow task i mean i am goin to loop around all the records in the recordset of the dataflow task.

or you can tell me how to solve this issue....

I need to fetch data from table 2 for every record from the recordset which is mergejoin resultset of table1 and table2.

Thanks in advance,

Articles in more than one Category - How to organize tables?

Greetings,
I have one table, named Article, and one table name Category.
The problem is, one Article could be in just one or in several categories.
What is the best way to connect data between Article and Category according to fast search performance?
I have several ideas:
1. To have third cross table Article_Category with fields Article_ID and Category_ID, and search Article_Category table
2. To have several INTEGER columns in Article table (like Category_ID1, Category_ID2,..) and search those columns
3. Add one VARCHAR field in Article table where I could write Category ID's delimited by some character (e.g. by comma), and do text search in only that column.
What is recommended for solving problems like this?

Option 1 makes the most sense. This is how many-to-many relationships are generally implemented.

|||Thanks for advice Adam|||Yes, that is how I implemented them, it works well. Then you can use an inner join to join the article info to the category info.|||

Will you have:
Option A: Many-to-Many (category 1 has article 1 and 2, category 2 has article 3, etc)

Option B: 1-to-Many (Category 1 has article 2, category 2 has article 2, category 3 has article 5, etc)
If B, you can put your article_id in your category table. This would give you the fastest search performance and allow your joins to be simpler.

Nick

|||Hi bmains,
how large are your tables?
Do you run it on Web with ASP.NET?
Do you satisfied with search speed?|||Hi Nick,
one Category will have many articles,
one Article could be in more than one category.

There is 500 000 articles and almost 2000 categories.
Regards|||

If you are talking a join between the join table and the two main tables, then no, I wouldn't worry about speed; it shouldn't be worse performance-wise. Though, if you are talking a lot of joins, then you need to worry more. outer joins are worse than inner joins; inner joins aren't bad; here we have a requirement that you have to try to rewrite a query to use an inner join if possible, when an outer join is used.

articles default

hi all, I was trying to set the articles to "delete data in the existing table that matches the row filter" in the publications "article>articles>table articles>snapshot" of the publication but everytime i reopen that property tab the publication restore to the default setting of 
"drop exisiting table and recreate it" 
i"m using sql server 2000. snapshot replication
-- thanks, joey
You can make use of dynamic snapshot to filter out the data.

articles about data access using System.Data.SqlClient namespace?

Aaarrgghhhhhhh, still searchin' for a nice step-by-step article to learn data access (all insert delete update commands) with the SQL Server .NET Data Provider found in [System.Data.SqlClient] namespace...

Can anyone plz help me to find it?these might help?
http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/ADOPlusOverview.aspx
http://www.stylusinc.net/technology/microsoft/ado.shtml
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDataSqlClientSqlConnectionClassTopic.asp?frame=true
http://msdn.microsoft.com/data/downloads/samples/default.aspx

Also
Check out the Data Access Application Block for .NET, it creates a wrapper around SqlClient class for somewhat easier use.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/daab-rm.asp

article or some good reasons to kick devs out of production

My devs all have access to production. They always had and they feel they
should still just in case they need to resolve issues.
Are there any articles on how I can convince them to get out and stay out
Let me know what should i tell them so I can revoke their access
Thanks
if you don't trust someone; hand them specifically what you want them to work on
and nothing else.
I've worked on *MANY* large scale production systems. I've never had "100%
access to 100% of the project".
If they're your devs, "here's the way it is".
I recently pointed out a small bug in an application. would take 2 seconds to
fix. (typo in a dialog).
I am *NOT* to change anything w/o a bug being written up & published.
It was, but said "do not change it unless you're working on that module for
something else".
The problem will be there for upwards of 3+ months because that module is rock
solid. Point? it's what I was told to do as a developer.
Tell your devs they'll get access to what they need.
Now; once you do -- live wit hthe fact that things don't happen as fast and the
backlash of "I couldn't resolve the issue, so-and-so had rights, not me." You
will have created the situation.
On Mon, 30 Jan 2006 20:30:23 -0800, "Hassan" <Hassan@.hotmail.com> wrote:

>My devs all have access to production. They always had and they feel they
>should still just in case they need to resolve issues.
>Are there any articles on how I can convince them to get out and stay out
>Let me know what should i tell them so I can revoke their access
>Thanks
>
-- AntiSpam/harvest --
Remove X's to send email to me.
|||A hammer, baseball bat, or golf club come to mind. So does, "I'm
responsible for it now". There isn't an easy answer. This is pure politics
that can really be argued both ways. My basic answer is that unless someone
is going to be held accountable for maintaining a database, they shouldn't
have any administrative authority. "Just in case" is just an excuse for
"please don't take away my toys".
I usually fix it by simply handing developers a pager. When they ask what
that is for, I tell them that since they have access to the production
database, that also make them responsible for it. Since they are
responsible for it, they also have to carry a pager and be woken up at 3AM
when things go wrong. Access is usually revoked within a day of doing that.

Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Hassan" <Hassan@.hotmail.com> wrote in message
news:uK3TO8hJGHA.740@.TK2MSFTNGP12.phx.gbl...
> My devs all have access to production. They always had and they feel they
> should still just in case they need to resolve issues.
> Are there any articles on how I can convince them to get out and stay out
> Let me know what should i tell them so I can revoke their access
> Thanks
>
|||:-)
I like your style. I may have to try that myself (it's an ongoing issue
where I work - I'm pretty solid on the SQL side of things but not great
on the political side of things).
*mike hodgson*
http://sqlnerd.blogspot.com
Michael Hotek wrote:

>A hammer, baseball bat, or golf club come to mind. So does, "I'm
>responsible for it now". There isn't an easy answer. This is pure politics
>that can really be argued both ways. My basic answer is that unless someone
>is going to be held accountable for maintaining a database, they shouldn't
>have any administrative authority. "Just in case" is just an excuse for
>"please don't take away my toys".
>I usually fix it by simply handing developers a pager. When they ask what
>that is for, I tell them that since they have access to the production
>database, that also make them responsible for it. Since they are
>responsible for it, they also have to carry a pager and be woken up at 3AM
>when things go wrong. Access is usually revoked within a day of doing that.
>
>
>
|||You can state several reason, and that depend upon
1. criticality of your data
- If some dev, run an update and mess up your data you need to restore
last back up and transaction log just before update happend. Then you need to
keep your server offline, will that affect your business? then thats a good
reason.
2. Size of your data
- If data is huge, restoration of corrupt data can take much time
3. Routine maintenece
- As admin you got routine maintenece , also you may go for process
where DB should be in single user mode.
Again why cant you go for an arhictecture where you have
=> Development Server
=> Integrated Server
=> Prodcution Server
Take daily backup from production, and restore it in Integrated Server. Give
dev access to integrated server, so that they will get the recent data from
production. Do the fix and apply that in production.
Thanks,
Sree
"Michael Hotek" wrote:

> A hammer, baseball bat, or golf club come to mind. So does, "I'm
> responsible for it now". There isn't an easy answer. This is pure politics
> that can really be argued both ways. My basic answer is that unless someone
> is going to be held accountable for maintaining a database, they shouldn't
> have any administrative authority. "Just in case" is just an excuse for
> "please don't take away my toys".
> I usually fix it by simply handing developers a pager. When they ask what
> that is for, I tell them that since they have access to the production
> database, that also make them responsible for it. Since they are
> responsible for it, they also have to carry a pager and be woken up at 3AM
> when things go wrong. Access is usually revoked within a day of doing that.
>
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "Hassan" <Hassan@.hotmail.com> wrote in message
> news:uK3TO8hJGHA.740@.TK2MSFTNGP12.phx.gbl...
>
>
|||Hi Mike
Something that I don't think has been specifically mentioned is
accountability, it is not the same as trust, because you can give developers
access to the production system but only in a contolled manner, and only to
make changes that have been passed as fit i.e. been through the a test cycle.
The other thing is sensitivity, the more open the access is, then the
greater the risk of a violation. Whoever carries this risk should be aware of
the situation.
If your developers do not have access to a production system, there should
be an equivalent system that can be used if the need arises. If your data is
sensitive, then this alternative system can be de-sensitized.
John
"Mike Hodgson" wrote:

> :-)
> I like your style. I may have to try that myself (it's an ongoing issue
> where I work - I'm pretty solid on the SQL side of things but not great
> on the political side of things).
> --
> *mike hodgson*
> http://sqlnerd.blogspot.com
>
> Michael Hotek wrote:
>
|||That's really the basic point behind handing developers a pager or whatever
you use. People always seem to want administrative access to things without
having any of the responsibility. You simply make it a point that if they
want admin access, of any kind, then they are going to be just as
responsible for the system as you are. That means every time something goes
wrong on the system, they get yanked into it right along with everyone else.
The rest is left unsaid, because it doesn't need to be. It's making a very
fine point about why certain people have admin access and no one else does
without getting into a big argument about it.
When you boil it all down, there isn't a single reason that someone can come
up with that I couldn't argue both sides of. It has nothing to do with data
volume, operations that are executed, errors that are found, change control,
etc.
The only issue that can't be argued is responsiblity. If you have admin
access, that means you are responsible for the system, period. If you give
someone admin access without also requiring them to be responsible for the
system, then you might as well get used to sleeping in your office.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"John Bell" <jbellnewsposts@.hotmail.com> wrote in message
news:57A3D790-44EB-403E-AFEB-7CC922094886@.microsoft.com...[vbcol=seagreen]
> Hi Mike
> Something that I don't think has been specifically mentioned is
> accountability, it is not the same as trust, because you can give
> developers
> access to the production system but only in a contolled manner, and only
> to
> make changes that have been passed as fit i.e. been through the a test
> cycle.
> The other thing is sensitivity, the more open the access is, then the
> greater the risk of a violation. Whoever carries this risk should be aware
> of
> the situation.
> If your developers do not have access to a production system, there should
> be an equivalent system that can be used if the need arises. If your data
> is
> sensitive, then this alternative system can be de-sensitized.
> John
>
> "Mike Hodgson" wrote:
|||Hi Mike
I think what I was pointing out was from the other direction, the developers
may want access to the company payrole, but will whoever is responsible for
it want them to have it? I.e. you may need to find the person who is
responsible and say "Do you want them to do this?"
John
"Michael Hotek" wrote:

> That's really the basic point behind handing developers a pager or whatever
> you use. People always seem to want administrative access to things without
> having any of the responsibility. You simply make it a point that if they
> want admin access, of any kind, then they are going to be just as
> responsible for the system as you are. That means every time something goes
> wrong on the system, they get yanked into it right along with everyone else.
> The rest is left unsaid, because it doesn't need to be. It's making a very
> fine point about why certain people have admin access and no one else does
> without getting into a big argument about it.
> When you boil it all down, there isn't a single reason that someone can come
> up with that I couldn't argue both sides of. It has nothing to do with data
> volume, operations that are executed, errors that are found, change control,
> etc.
> The only issue that can't be argued is responsiblity. If you have admin
> access, that means you are responsible for the system, period. If you give
> someone admin access without also requiring them to be responsible for the
> system, then you might as well get used to sleeping in your office.
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "John Bell" <jbellnewsposts@.hotmail.com> wrote in message
> news:57A3D790-44EB-403E-AFEB-7CC922094886@.microsoft.com...
>
>
|||On Mon, 30 Jan 2006 20:30:23 -0800, Hassan wrote:

>My devs all have access to production. They always had and they feel they
>should still just in case they need to resolve issues.
>Are there any articles on how I can convince them to get out and stay out
>Let me know what should i tell them so I can revoke their access
>Thanks
>
Hi Hassan,
A lot of good ideas are mentioned already. But I've missed one so far:
in many countries, privacy laws require you to limit access to
production data to only those who absolutely need it. Developers don't
need permanent access to production data.
(They may sometimes need temp access to prod when troubleshooting a
production error - they should use a special login that is normally
disabled, fully logged, and they should ideally be constantly monitored
while fixing the problem - though the last requirement is somewhat
unrealistic).
Hugo Kornelis, SQL Server MVP
|||I understand, that's a much different issue that's really easy to fix. When
you have sensitive data, that's a simple case to restrict access that no one
can argue with. It's the cases that don't fall into that category that are
more difficult.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"John Bell" <jbellnewsposts@.hotmail.com> wrote in message
news:2A73DAF3-A001-4927-94D7-051852672CA3@.microsoft.com...[vbcol=seagreen]
> Hi Mike
> I think what I was pointing out was from the other direction, the
> developers
> may want access to the company payrole, but will whoever is responsible
> for
> it want them to have it? I.e. you may need to find the person who is
> responsible and say "Do you want them to do this?"
> John
> "Michael Hotek" wrote:

article or some good reasons to kick devs out of production

My devs all have access to production. They always had and they feel they
should still just in case they need to resolve issues.
Are there any articles on how I can convince them to get out and stay out
Let me know what should i tell them so I can revoke their access
Thanksif you don't trust someone; hand them specifically what you want them to wor
k on
and nothing else.
I've worked on *MANY* large scale production systems. I've never had "100%
access to 100% of the project".
If they're your devs, "here's the way it is".
I recently pointed out a small bug in an application. would take 2 seconds t
o
fix. (typo in a dialog).
I am *NOT* to change anything w/o a bug being written up & published.
It was, but said "do not change it unless you're working on that module for
something else".
The problem will be there for upwards of 3+ months because that module is ro
ck
solid. Point? it's what I was told to do as a developer.
Tell your devs they'll get access to what they need.
Now; once you do -- live wit hthe fact that things don't happen as fast and
the
backlash of "I couldn't resolve the issue, so-and-so had rights, not me." Y
ou
will have created the situation.
On Mon, 30 Jan 2006 20:30:23 -0800, "Hassan" <Hassan@.hotmail.com> wrote:

>My devs all have access to production. They always had and they feel they
>should still just in case they need to resolve issues.
>Are there any articles on how I can convince them to get out and stay out :
)
>Let me know what should i tell them so I can revoke their access
>Thanks
>
-- AntiSpam/harvest --
Remove X's to send email to me.|||A hammer, baseball bat, or golf club come to mind. So does, "I'm
responsible for it now". There isn't an easy answer. This is pure politics
that can really be argued both ways. My basic answer is that unless someone
is going to be held accountable for maintaining a database, they shouldn't
have any administrative authority. "Just in case" is just an excuse for
"please don't take away my toys".
I usually fix it by simply handing developers a pager. When they ask what
that is for, I tell them that since they have access to the production
database, that also make them responsible for it. Since they are
responsible for it, they also have to carry a pager and be woken up at 3AM
when things go wrong. Access is usually revoked within a day of doing that.

Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Hassan" <Hassan@.hotmail.com> wrote in message
news:uK3TO8hJGHA.740@.TK2MSFTNGP12.phx.gbl...
> My devs all have access to production. They always had and they feel they
> should still just in case they need to resolve issues.
> Are there any articles on how I can convince them to get out and stay out
> Let me know what should i tell them so I can revoke their access
> Thanks
>|||:-)
I like your style. I may have to try that myself (it's an ongoing issue
where I work - I'm pretty solid on the SQL side of things but not great
on the political side of things).
*mike hodgson*
http://sqlnerd.blogspot.com
Michael Hotek wrote:

>A hammer, baseball bat, or golf club come to mind. So does, "I'm
>responsible for it now". There isn't an easy answer. This is pure politic
s
>that can really be argued both ways. My basic answer is that unless someon
e
>is going to be held accountable for maintaining a database, they shouldn't
>have any administrative authority. "Just in case" is just an excuse for
>"please don't take away my toys".
>I usually fix it by simply handing developers a pager. When they ask what
>that is for, I tell them that since they have access to the production
>database, that also make them responsible for it. Since they are
>responsible for it, they also have to carry a pager and be woken up at 3AM
>when things go wrong. Access is usually revoked within a day of doing that
.
>
>
>|||You can state several reason, and that depend upon
1. criticality of your data
- If some dev, run an update and mess up your data you need to restore
last back up and transaction log just before update happend. Then you need t
o
keep your server offline, will that affect your business? then thats a good
reason.
2. Size of your data
- If data is huge, restoration of corrupt data can take much time
3. Routine maintenece
- As admin you got routine maintenece , also you may go for process
where DB should be in single user mode.
Again why cant you go for an arhictecture where you have
=> Development Server
=> Integrated Server
=> Prodcution Server
Take daily backup from production, and restore it in Integrated Server. Give
dev access to integrated server, so that they will get the recent data from
production. Do the fix and apply that in production.
Thanks,
Sree
"Michael Hotek" wrote:

> A hammer, baseball bat, or golf club come to mind. So does, "I'm
> responsible for it now". There isn't an easy answer. This is pure politi
cs
> that can really be argued both ways. My basic answer is that unless someo
ne
> is going to be held accountable for maintaining a database, they shouldn't
> have any administrative authority. "Just in case" is just an excuse for
> "please don't take away my toys".
> I usually fix it by simply handing developers a pager. When they ask what
> that is for, I tell them that since they have access to the production
> database, that also make them responsible for it. Since they are
> responsible for it, they also have to carry a pager and be woken up at 3AM
> when things go wrong. Access is usually revoked within a day of doing tha
t.
>
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "Hassan" <Hassan@.hotmail.com> wrote in message
> news:uK3TO8hJGHA.740@.TK2MSFTNGP12.phx.gbl...
>
>|||Hi Mike
Something that I don't think has been specifically mentioned is
accountability, it is not the same as trust, because you can give developers
access to the production system but only in a contolled manner, and only to
make changes that have been passed as fit i.e. been through the a test cycle
.
The other thing is sensitivity, the more open the access is, then the
greater the risk of a violation. Whoever carries this risk should be aware o
f
the situation.
If your developers do not have access to a production system, there should
be an equivalent system that can be used if the need arises. If your data is
sensitive, then this alternative system can be de-sensitized.
John
"Mike Hodgson" wrote:

> :-)
> I like your style. I may have to try that myself (it's an ongoing issue
> where I work - I'm pretty solid on the SQL side of things but not great
> on the political side of things).
> --
> *mike hodgson*
> http://sqlnerd.blogspot.com
>
> Michael Hotek wrote:
>
>|||That's really the basic point behind handing developers a pager or whatever
you use. People always seem to want administrative access to things without
having any of the responsibility. You simply make it a point that if they
want admin access, of any kind, then they are going to be just as
responsible for the system as you are. That means every time something goes
wrong on the system, they get yanked into it right along with everyone else.
The rest is left unsaid, because it doesn't need to be. It's making a very
fine point about why certain people have admin access and no one else does
without getting into a big argument about it.
When you boil it all down, there isn't a single reason that someone can come
up with that I couldn't argue both sides of. It has nothing to do with data
volume, operations that are executed, errors that are found, change control,
etc.
The only issue that can't be argued is responsiblity. If you have admin
access, that means you are responsible for the system, period. If you give
someone admin access without also requiring them to be responsible for the
system, then you might as well get used to sleeping in your office.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"John Bell" <jbellnewsposts@.hotmail.com> wrote in message
news:57A3D790-44EB-403E-AFEB-7CC922094886@.microsoft.com...[vbcol=seagreen]
> Hi Mike
> Something that I don't think has been specifically mentioned is
> accountability, it is not the same as trust, because you can give
> developers
> access to the production system but only in a contolled manner, and only
> to
> make changes that have been passed as fit i.e. been through the a test
> cycle.
> The other thing is sensitivity, the more open the access is, then the
> greater the risk of a violation. Whoever carries this risk should be aware
> of
> the situation.
> If your developers do not have access to a production system, there should
> be an equivalent system that can be used if the need arises. If your data
> is
> sensitive, then this alternative system can be de-sensitized.
> John
>
> "Mike Hodgson" wrote:
>|||Hi Mike
I think what I was pointing out was from the other direction, the developers
may want access to the company payrole, but will whoever is responsible for
it want them to have it? I.e. you may need to find the person who is
responsible and say "Do you want them to do this?"
John
"Michael Hotek" wrote:

> That's really the basic point behind handing developers a pager or whateve
r
> you use. People always seem to want administrative access to things witho
ut
> having any of the responsibility. You simply make it a point that if they
> want admin access, of any kind, then they are going to be just as
> responsible for the system as you are. That means every time something go
es
> wrong on the system, they get yanked into it right along with everyone els
e.
> The rest is left unsaid, because it doesn't need to be. It's making a ver
y
> fine point about why certain people have admin access and no one else does
> without getting into a big argument about it.
> When you boil it all down, there isn't a single reason that someone can co
me
> up with that I couldn't argue both sides of. It has nothing to do with da
ta
> volume, operations that are executed, errors that are found, change contro
l,
> etc.
> The only issue that can't be argued is responsiblity. If you have admin
> access, that means you are responsible for the system, period. If you giv
e
> someone admin access without also requiring them to be responsible for the
> system, then you might as well get used to sleeping in your office.
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "John Bell" <jbellnewsposts@.hotmail.com> wrote in message
> news:57A3D790-44EB-403E-AFEB-7CC922094886@.microsoft.com...
>
>|||On Mon, 30 Jan 2006 20:30:23 -0800, Hassan wrote:

>My devs all have access to production. They always had and they feel they
>should still just in case they need to resolve issues.
>Are there any articles on how I can convince them to get out and stay out :
)
>Let me know what should i tell them so I can revoke their access
>Thanks
>
Hi Hassan,
A lot of good ideas are mentioned already. But I've missed one so far:
in many countries, privacy laws require you to limit access to
production data to only those who absolutely need it. Developers don't
need permanent access to production data.
(They may sometimes need temp access to prod when troubleshooting a
production error - they should use a special login that is normally
disabled, fully logged, and they should ideally be constantly monitored
while fixing the problem - though the last requirement is somewhat
unrealistic).
Hugo Kornelis, SQL Server MVP|||I understand, that's a much different issue that's really easy to fix. When
you have sensitive data, that's a simple case to restrict access that no one
can argue with. It's the cases that don't fall into that category that are
more difficult.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"John Bell" <jbellnewsposts@.hotmail.com> wrote in message
news:2A73DAF3-A001-4927-94D7-051852672CA3@.microsoft.com...[vbcol=seagreen]
> Hi Mike
> I think what I was pointing out was from the other direction, the
> developers
> may want access to the company payrole, but will whoever is responsible
> for
> it want them to have it? I.e. you may need to find the person who is
> responsible and say "Do you want them to do this?"
> John
> "Michael Hotek" wrote:
>

Article on when to use Stored Procs?

Does anybody know of some good articles or whitepapers on when to use stored
procs and when not to use them? Thanks in advance.
DaveHere is a compact artilce along with some good discussion:
http://weblogs.asp.net/rhoward/arch...1/17/38095.aspx
"Dave L" wrote:

> Does anybody know of some good articles or whitepapers on when to use stor
ed
> procs and when not to use them? Thanks in advance.
> Dave
>|||> Does anybody know of some good articles or whitepapers on when to use
> stored
> procs and when not to use them? Thanks in advance.
Thus saith the LORD GOD: "Thou shalt use stored procedures for everything,
and for everything shalt thou use them."
Seriously. Here are some:
http://weblogs.asp.net/rhoward/arch...1/17/38095.aspx
http://www.devx.com/tips/Tip/13175
http://www.csharpfriends.com/Articl...px?articleID=78
Peace & happy computing,
Mike Labosh, MCSD
"When you kill a man, you're a murderer.
Kill many, and you're a conqueror.
Kill them all and you're a god." -- Dave Mustane