Showing posts with label link. Show all posts
Showing posts with label link. Show all posts

Friday, March 30, 2012

Hide Parameters toolbar

How to hide specific parameters from the toolbar:

I use the following link, it hides the whole parameters toolbar.

http://ServerName/reportserver?/PPTReports/rptStatSU&rs:Command=Render&rs:Format=HTML4.0&rc:Parameters=false&eStatus=Open&UserName=jSmith

I have two parameters out of that would oike to hide just one of them which is username.

i am using sqlserver 2000 reporting services, i don't see that option hide.

Please does anyone know how to do it.

Thank you very much for the information.

No, in SQL Server 2k you can only hide the report parameters as a whole. In SQL Server you have the possibility to set the parameter to "hidden" or "internal", but if you don′t have the chance of migrating you are stuck to the option to switch of the whole parameter toolbar.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de

Hide only export dropdown list and "Export" link button from report toolbar in sql rep

Hi All

I want to hide export dropdown list and "Export" link button from reportviewer toolbar . because i create my own export function so ,

Please help me in this

Thanks

Alpesh

I think that this url can be helpuff:

http://blogs.msdn.com/bimusings/archive/2005/07/08/436887.aspx

Hide only export dropdown list and "Export" link button from report toolbar in sql

Hi All

I want to hide export dropdown list and "Export" link button from reportviewer toolbar . because i create my own export function so ,

Please help me in this

Thanks

Alpesh

I think that this url can be helpuff:

http://blogs.msdn.com/bimusings/archive/2005/07/08/436887.aspx

sql

Hide 'New Subscription' in the explorer bar

Hello

We do not want the end users to know of the subscription capability. How do we hide 'New Subscription' link for a report.

Thanks

InderSunny,

You can edit your Browser role and remove the capabilties of the user - Report Directory/Properties/Security should get you going.

Ham

|||

In the security tab only following roles are available

Browser

May view folders, reports and subscribe to reports.

Content Manager

May manage content in the Report Server. This includes folders, reports and resources.

My Reports

May publish reports and linked reports; manage folders, reports and resources in a users My Reports folder.

Publisher

May publish reports and linked reports to the Report Server.

Report Builder

May view report definitions.

Which one should be selected so that the user is only able to view folders and reports and not subscription.

|||

indersunny,

Click on the Browser and you will get : - Assign the approciate security.

elect one or more tasks to assign to the role.

Task

Description

Consume reports

Reads report definitions

Create linked reports

Create linked reports and publish them to a report server folder.

Manage all subscriptions

View, modify, and delete any subscription regardless of who owns the subscription.

Manage data sources

Create and delete shared data source items; and modify data source properties.

Manage folders

Create, view and delete folders; and view and modify folder properties.

Manage individual subscriptions

Each user can create, view, modify and delete subscriptions that he or she owns.

Manage models

Create, view, and delete models; and view and modify model properties.

Manage report history

Create, view, and delete report history snapshots; and modify report history properties.

Manage reports

Create, view, and delete reports; and modify report properties.

Manage resources

Create, modify and delete resources, and view and modify resource properties.

Set security for individual items

View and modify security settings for reports, folders, resources, and shared data sources.

View data sources

View shared data source items in the folder hierarchy; and view data source properties.

View folders

View folder items in the folder hierarchy; and view folder properties.

View models

View models in the folder hierarchy, use models as data sources for a report, and run queries against the model to retrieve data.

View reports

View reports and linked reports in the folder hierarchy; view report history snapshots and report properties.

View resources

View resources in the folder hierarchy; and view resource properties.

Ham

|||

InderSunny,

Can you mark my post as answer so our solution will be found by others who are looking for the same solution?

Thanks,

Ham

Monday, March 12, 2012

Heterogeneous Query and ANSI_NULLS/_WARNINGS

I'm trying to create a stored proc that creates a link to a remote server and executes
other stored procedures as needed. Each of the sub-procs will be running Heterogeneous Queries.
I'm having trouble creating these sub-procs, I get the error message that states
Heterogeneous Queries require ANSINULLS and ANSIWARNINGS be set...
I have the remote server linked when I try to create the procs.
I've tried SET ANSI_NULLS and _WARNINGS with no effect so I'm assuming these need to be set on the linked server.
I tried EXEC sp_serveroption 'sqlSOLOMON', 'ANSI_NULLS', 'ON'
EXEC sp_serveroption 'sqlSOLOMON', 'ANSI_WARNINGS', 'ON'
but got an 'invalid options' error.
Does this need to be set as server defaults on each server or can I make these settings in a usp?
After the procs are created and I create the link at runtime can I expect some problems?
Any suggestions/links would be greatly appreciated.
I am also an Application developer who gets roped into this DBA stuff as needed. I'm the closest they have here
to a DBA and I cant find any decent answers in 'books on-line' or my books on-desk.
'Ack!'
troy
Troy,
The settings need to be set when you create your stored
procedures - not in the stored procedures but for the
connection creating the stored procedures - so that the
stored procedures are created with these settings. Something
along the lines of:
SET ANSI_NULLS ON
GO
SET ANSI_WARNINGS ON
GO
CREATE PROCEDURE YourStoredProc...etc.
-Sue
On Fri, 9 Apr 2004 13:06:06 -0700, "Troy"
<anonymous@.discussions.microsoft.com> wrote:

>I'm trying to create a stored proc that creates a link to a remote server and executes
>other stored procedures as needed. Each of the sub-procs will be running Heterogeneous Queries.
>I'm having trouble creating these sub-procs, I get the error message that states
> Heterogeneous Queries require ANSINULLS and ANSIWARNINGS be set...
>I have the remote server linked when I try to create the procs.
>I've tried SET ANSI_NULLS and _WARNINGS with no effect so I'm assuming these need to be set on the linked server.
>I tried EXEC sp_serveroption 'sqlSOLOMON', 'ANSI_NULLS', 'ON'
> EXEC sp_serveroption 'sqlSOLOMON', 'ANSI_WARNINGS', 'ON'
>but got an 'invalid options' error.
>Does this need to be set as server defaults on each server or can I make these settings in a usp?
>After the procs are created and I create the link at runtime can I expect some problems?
>Any suggestions/links would be greatly appreciated.
>I am also an Application developer who gets roped into this DBA stuff as needed. I'm the closest they have here
>to a DBA and I cant find any decent answers in 'books on-line' or my books on-desk.
>'Ack!'
>troy
|||Thanks Sue, that took care of it.
|||Troy / Sue
I'm experiencing the same issue raised in this thread. Sounds like you
guys figured out what the problem was but the solution is not in this
thread. Any chance you can share your wisdom?
imalik
Posted via http://www.webservertalk.com
View this thread: http://www.webservertalk.com/message177518.html
|||If you have the same issues with a stored procedure, the
answer is in the post in this thread. You need to create the
procedure with the appropriate setting e.g.
SET ANSI_NULLS ON
GO
SET ANSI_WARNINGS ON
GO
CREATE PROCEDURE YourStoredProc...etc.
-Sue
On Mon, 10 Jan 2005 04:45:31 -0600, imalik
<imalik.1inb94@.mail.webservertalk.com> wrote:

>Troy / Sue
>I'm experiencing the same issue raised in this thread. Sounds like you
>guys figured out what the problem was but the solution is not in this
>thread. Any chance you can share your wisdom?
|||Hi all!
I have the same problem with a view I'm trying to use with Crystal Reports.
I did recreate my view with ANSI_NULL, ANSI_WARNINGS statements but it's still doesn't work...
How can I solve it please?

Quote:

Originally Posted by Sue HoegemeierView Post

If you have the same issues with a stored procedure, the
answer is in the post in this thread. You need to create the
procedure with the appropriate setting e.g.
SET ANSI_NULLS ON
GO
SET ANSI_WARNINGS ON
GO
CREATE PROCEDURE YourStoredProc...etc.
-Sue
On Mon, 10 Jan 2005 04:45:31 -0600, imalik
<imalik.1inb94@.mail.webservertalk.com> wrote:

>Troy / Sue
>I'm experiencing the same issue raised in this thread. Sounds like you
>guys figured out what the problem was but the solution is not in this
>thread. Any chance you can share your wisdom?

|||I'm not sure what you mean by trying to use - what is the
datasource? Is it a stored procedure, a query, the view
itself?
What is the exact error message and when/how do you get it?
Whatever you are executing that involves this view in
Crystal, try executing the same thing in a query tool and
see if you get the same message. Take Crystal out of the mix
to start with.
-Sue
On Wed, 16 May 2007 10:53:15 -0500, zen69
<zen69.2qp5em@.no-mx.forums.yourdomain.com.au> wrote:
[vbcol=seagreen]
>Hi all!
>I have the same problem with a view I'm trying to use with Crystal
>Reports.
>I did recreate my view with ANSI_NULL, ANSI_WARNINGS statements but
>it's still doesn't work...
>How can I solve it please?
>Sue Hoegemeier;3612624 Wrote:
|||

Quote:

Originally Posted by Sue HoegemeierView Post

I'm not sure what you mean by trying to use - what is the
datasource? Is it a stored procedure, a query, the view
itself?
What is the exact error message and when/how do you get it?
Whatever you are executing that involves this view in
Crystal, try executing the same thing in a query tool and
see if you get the same message. Take Crystal out of the mix
to start with.
-Sue
On Wed, 16 May 2007 10:53:15 -0500, zen69
<zen69.2qp5em@.no-mx.forums.yourdomain.com.au> wrote:
[vbcol=seagreen]
>Hi all!
>I have the same problem with a view I'm trying to use with Crystal
>Reports.
>I did recreate my view with ANSI_NULL, ANSI_WARNINGS statements but
>it's still doesn't work...
>How can I solve it please?
>Sue Hoegemeier;3612624 Wrote:


I fix my problem by setting ANSI_NULL/WARNINGS in my ODBC source. Thx anyway

Heterogeneous Query and ANSI_NULLS/_WARNINGS

I'm trying to create a stored proc that creates a link to a remote server an
d executes
other stored procedures as needed. Each of the sub-procs will be running He
terogeneous Queries.
I'm having trouble creating these sub-procs, I get the error message that st
ates
Heterogeneous Queries require ANSINULLS and ANSIWARNINGS be set...
I have the remote server linked when I try to create the procs.
I've tried SET ANSI_NULLS and _WARNINGS with no effect so I'm assuming these
need to be set on the linked server.
I tried EXEC sp_serveroption 'sqlSOLOMON', 'ANSI_NULLS', 'ON'
EXEC sp_serveroption 'sqlSOLOMON', 'ANSI_WARNINGS', 'ON'
but got an 'invalid options' error.
Does this need to be set as server defaults on each server or can I make the
se settings in a usp?
After the procs are created and I create the link at runtime can I expect so
me problems?
Any suggestions/links would be greatly appreciated.
I am also an Application developer who gets roped into this DBA stuff as nee
ded. I'm the closest they have here
to a DBA and I cant find any decent answers in 'books on-line' or my books o
n-desk.
'Ack!'
troyThanks Sue, that took care of it.|||Troy / Sue
I'm experiencing the same issue raised in this thread. Sounds like you guys
figured out what the problem was but the solution is not in this thread. Any
chance you can share your wisdom?|||If you have the same issues with a stored procedure, the
answer is in the post in this thread. You need to create the
procedure with the appropriate setting e.g.
SET ANSI_NULLS ON
GO
SET ANSI_WARNINGS ON
GO
CREATE PROCEDURE YourStoredProc...etc.
-Sue
On Mon, 10 Jan 2005 04:45:31 -0600, imalik
<imalik.1inb94@.mail.webservertalk.com> wrote:

>Troy / Sue
>I'm experiencing the same issue raised in this thread. Sounds like you
>guys figured out what the problem was but the solution is not in this
>thread. Any chance you can share your wisdom?|||Hi all!
I have the same problem with a view I'm trying to use with Crystal
Reports.
I did recreate my view with ANSI_NULL, ANSI_WARNINGS statements but
it's still doesn't work...
How can I solve it please?
Sue Hoegemeier;3612624 Wrote:[vbcol=seagreen]
> If you have the same issues with a stored procedure, the
> answer is in the post in this thread. You need to create the
> procedure with the appropriate setting e.g.
> SET ANSI_NULLS ON
> GO
> SET ANSI_WARNINGS ON
> GO
> CREATE PROCEDURE YourStoredProc...etc.
>
> -Sue
> On Mon, 10 Jan 2005 04:45:31 -0600, imalik
> <imalik.1inb94@.mail.webservertalk.com> wrote:
>
> you
zen69|||I'm not sure what you mean by trying to use - what is the
datasource? Is it a stored procedure, a query, the view
itself?
What is the exact error message and when/how do you get it?
Whatever you are executing that involves this view in
Crystal, try executing the same thing in a query tool and
see if you get the same message. Take Crystal out of the mix
to start with.
-Sue
On Wed, 16 May 2007 10:53:15 -0500, zen69
<zen69.2qp5em@.no-mx.forums.yourdomain.com.au> wrote:
[vbcol=seagreen]
>Hi all!
>I have the same problem with a view I'm trying to use with Crystal
>Reports.
>I did recreate my view with ANSI_NULL, ANSI_WARNINGS statements but
>it's still doesn't work...
>How can I solve it please?
>Sue Hoegemeier;3612624 Wrote:

Friday, March 9, 2012

Helpful suggestions...

Hello everyone
I was perusing the threads and found a helpful link that Aaron Bertrand
posted http://www.aspfaq.com/5006. In short it expalined the three things
(DDL, sample data and expected results) that should be given to increase my
chances that my query question would be answered. I was wondering are there
other suggestions that would be helpful to getting questions answered? Are
there suggestions for different objects such as stored procedures, triggers,
function? Maybe I am asking for a lot but, what can you expect from a newbie
.
kw_uh97of course the question should be interesting ;)
--
"kw_uh97" wrote:

> Hello everyone
> I was perusing the threads and found a helpful link that Aaron Bertrand
> posted http://www.aspfaq.com/5006. In short it expalined the three things
> (DDL, sample data and expected results) that should be given to increase m
y
> chances that my query question would be answered. I was wondering are ther
e
> other suggestions that would be helpful to getting questions answered? Are
> there suggestions for different objects such as stored procedures, trigger
s,
> function? Maybe I am asking for a lot but, what can you expect from a newb
ie.
> kw_uh97|||Really that link should pretty much cover it. Triggers, views, and stored
procedures should be scripted the same as tables, and any pertinant
information should be posted.
Posting "you don't need DDL to answer this question" after being asked for
DDL is usually bad form and might get you flamed or ignored. But since you
took the time to post this question, you seem concerned enough that you
would not give such a response anyway.
As long as you appear to be trying to help everyone understand your issue,
you should find folks very willing to help.
Some folks get upset if you use the wrong terminology. If you ever call a
collumn a field, a table a file, or a row a record, CELKO will beat you up
and then go drown a kitten. Have a thick skin when this happens and you'll
be all set.
"kw_uh97" <kwuh97@.discussions.microsoft.com> wrote in message
news:148DFE63-0D24-4036-8FD2-A929919DC903@.microsoft.com...
> Hello everyone
> I was perusing the threads and found a helpful link that Aaron Bertrand
> posted http://www.aspfaq.com/5006. In short it expalined the three things
> (DDL, sample data and expected results) that should be given to increase
my
> chances that my query question would be answered. I was wondering are
there
> other suggestions that would be helpful to getting questions answered? Are
> there suggestions for different objects such as stored procedures,
triggers,
> function? Maybe I am asking for a lot but, what can you expect from a
newbie.
> kw_uh97|||One more... This is a personal peeve of mine.
If you ask a question, always post the solution when you find it. It is
very poor form to ask others for help but not post the final solution for
the next person who tries to search for it, or anyone who is following the
thread in hopes of learning something new. Basically, share what you learn
so others can benefit from it.
"kw_uh97" <kwuh97@.discussions.microsoft.com> wrote in message
news:148DFE63-0D24-4036-8FD2-A929919DC903@.microsoft.com...
> Hello everyone
> I was perusing the threads and found a helpful link that Aaron Bertrand
> posted http://www.aspfaq.com/5006. In short it expalined the three things
> (DDL, sample data and expected results) that should be given to increase
my
> chances that my query question would be answered. I was wondering are
there
> other suggestions that would be helpful to getting questions answered? Are
> there suggestions for different objects such as stored procedures,
triggers,
> function? Maybe I am asking for a lot but, what can you expect from a
newbie.
> kw_uh97|||When you post the DDL, clean it up so that people can read it. A lot
of people just "push the button" and paste raw generated scripts with
square brackets, irregular capitalization, keys and constraitns as
ALTER TABLE statements, etc.
I have a book on SQL programming style and yhou can find some tools to
format the code nicely.
It helps to give some idea as to the business problem, so people can
make good guesses.|||Thanks Omnibuzz I'll try to keep it interesting.
Thanks Jim I will take all of your advice. Just some simple questions, when
you say all trigger, stored procedures etc... should be "scripted" are you
talking about the actual code to create the objects or something other than
that. Moreover, I found that the script option to create the table structure
was helpful plus I found a utility SQL Scripter, that created insert
statements to create sample data from my existing data helpful in posting
questions as well. Are they anymore tools, utilities or software that can
make posting question to the board more effective or make my development
efforts more effecient?
Thanks In advance.
kw
"Jim Underwood" wrote:

> One more... This is a personal peeve of mine.
> If you ask a question, always post the solution when you find it. It is
> very poor form to ask others for help but not post the final solution for
> the next person who tries to search for it, or anyone who is following the
> thread in hopes of learning something new. Basically, share what you lear
n
> so others can benefit from it.
> "kw_uh97" <kwuh97@.discussions.microsoft.com> wrote in message
> news:148DFE63-0D24-4036-8FD2-A929919DC903@.microsoft.com...
> my
> there
> triggers,
> newbie.
>
>|||For the stored procedures, triggers, etc., I mean post the full code used to
create (or alter) the object. Also, as CELKO pointed out, formatting the
code so it is readable is a big thing. If we can read it easily, we will be
able to understand it in order to answer the question. You can script most
objects from EM by right clicking on them.
I don't know any other tools off hand.
"kw_uh97" <kwuh97@.discussions.microsoft.com> wrote in message
news:3DE501C5-DB4C-4B13-8ACF-CC634D65FF80@.microsoft.com...
> Thanks Omnibuzz I'll try to keep it interesting.
> Thanks Jim I will take all of your advice. Just some simple questions,
when
> you say all trigger, stored procedures etc... should be "scripted" are you
> talking about the actual code to create the objects or something other
than
> that. Moreover, I found that the script option to create the table
structure
> was helpful plus I found a utility SQL Scripter, that created insert
> statements to create sample data from my existing data helpful in posting
> questions as well. Are they anymore tools, utilities or software that can
> make posting question to the board more effective or make my development
> efforts more effecient?
> Thanks In advance.
> kw
> "Jim Underwood" wrote:
>
for
the
learn
Bertrand
things
increase
Are|||Jim when I script a stored procedure from EM there is some code that is adde
d
to the stored procedure. Namely this if exist statement. Should all of this
code be included or should I exclude this and post my sp as is.
if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[DebugA]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[DebugA]
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE procedure DebugA
(
@.IntIn int,
@.IntOut int OUTPUT
)
as
Set @.IntOut = @.IntIn + 10
Return
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
Thanks In Advance
kw
"Jim Underwood" wrote:

> For the stored procedures, triggers, etc., I mean post the full code used
to
> create (or alter) the object. Also, as CELKO pointed out, formatting the
> code so it is readable is a big thing. If we can read it easily, we will
be
> able to understand it in order to answer the question. You can script mos
t
> objects from EM by right clicking on them.
> I don't know any other tools off hand.
> "kw_uh97" <kwuh97@.discussions.microsoft.com> wrote in message
> news:3DE501C5-DB4C-4B13-8ACF-CC634D65FF80@.microsoft.com...
> when
> than
> structure
> for
> the
> learn
> Bertrand
> things
> increase
> Are
>
>|||ahhhh...
The if exists.. then drop is not needed, it just clutters up the code. The
create by itself should be sufficient. However, most folks include drop
statements at the end of their code snippets to remove all the objects that
were created. This keeps our environment from getting filled up with test
tables and procedures, and saves us the extra keystrokes of manually
dropping these objects.
i.e.
Create table ProblemTable1 (column list...)
Constraints, etc...
Create table ProblemTable2 (column list...)
Constraints, etc...
Insert into ProblemTable1 (column list) values (value list);
Insert into ProblemTable2 (column list) values (value list);
select * from ProblemTable1
<some join> on ProblemTable2
where ....
drop ProblemTable1;
drop ProblemTable2 ;
"kw_uh97" <kwuh97@.discussions.microsoft.com> wrote in message
news:EACEFF81-50A6-4230-BE48-8930A939CA42@.microsoft.com...
> Jim when I script a stored procedure from EM there is some code that is
added
> to the stored procedure. Namely this if exist statement. Should all of
this
> code be included or should I exclude this and post my sp as is.
> if exists (select * from dbo.sysobjects where id =
> object_id(N'[dbo].[DebugA]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
> drop procedure [dbo].[DebugA]
> GO
> SET QUOTED_IDENTIFIER ON
> GO
> SET ANSI_NULLS ON
> GO
> CREATE procedure DebugA
> (
> @.IntIn int,
> @.IntOut int OUTPUT
> )
> as
> Set @.IntOut = @.IntIn + 10
> Return
>
> GO
> SET QUOTED_IDENTIFIER OFF
> GO
> SET ANSI_NULLS ON
> GO
> Thanks In Advance
> kw
>
> "Jim Underwood" wrote:
>
used to
the
will be
most
you
posting
can
development
It is
solution
following
you
are
answered?
from a|||As others have stated, clean DDL and a statement of the business
problem is always helpful; however, you may not be able to post the
entire code (because of business restrictions or the complexity of the
code). In those cases, spend the time to develop a working bare-bones
test case that illustrates the problem you have. I don't need all 50
columns in a table when you're only having issues with two of them, but
it would be nice to have a stipped down version of your problem that
actually works and illustrates the problem you are having.
HTH,
Stu

Friday, February 24, 2012

Help: JDBC 1.22 and SQL 2000

HI, all

I need to write a program, which using VM 1.1.8.

So I need to find the JDBC driver version 1.22, Can anyone help me?

Please Reply, a link for download jdbc 1.22 or any other solutions .

Thank you!

You can take a look at the following links for Microsoft SQL Server 2005 JDBC Driver (recommended)

http://msdn.microsoft.com/data/ref/jdbc/

http://www.microsoft.com/downloads/details.aspx?FamilyId=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en

For SQL Server 2000 Driver for JDBC Service Pack 1

http://www.microsoft.com/downloads/details.aspx?FamilyID=4F8F2F01-1ED7-4C4D-8F7B-3D47969E66AE&displaylang=en