Wednesday, March 21, 2012
listing in a sheet all server of netwaor with SQL installed
Tks.You can run OSQL -L from a command line, then copy and paste the result into an Excel worksheet. This may be limited by various factors, such as firewalls, subnets, etc..|||Is this what you want? (http://www.wisesoft.co.uk/Scripts/display_script.aspx?id=29)sql
Monday, March 12, 2012
List Property - can grow/can shrink
I'm trying to generate a report that will simulate Avery Standard form 5388 - a basic 3 x 5 index card.
I'm using a list and a table to generate the output. Basically I have the list sized at exactly 3 x 5. I'm limiting my rows to be returned to 5 rows so that the table does not grow too large, and I'm using the Page Header to handle the top space, and have placed the list/table regions within the body region to handle the left margin.
The problem I'm having is to have the list print exactly 3x5...I would like to make sure that the list ALWAYS maintains this size - no growing or shrinking;however the list does not have this property that I can see.
I'm currently working in RS2000...can it be done in either 2000 or is this something that 2005 can only handle.
I figured it out...I placed a 3x5 rectangle inside the 3x5 list data region. Seems to be working.Friday, March 9, 2012
List of server connections
Hello,
I use SQL Server Management Studio Express. When I want to connect to some server the application form offers me several servers that I used to connect to in past. Where can I manage this offer (delete some obsolete servers).
Thanks
hi,
I do think you find it in
C:\Documents and Settings\YourName\Application Data\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat
.. but, if it is, my advice is not to hack it..
regards
List Of Reports
I have created an application that uses reports published via SQL reporting services. I have a form with a report viewer control on it and above that I have a drop down list box. I want to fill the list box with available reports from the server and allow the user to select the report they wish to see. The report list could change so I don't want to hard code any report names in the list The problem I am having is that I can't figure out how to get a list of available reports from the server.
Thanks for any help offered.
Check out this article:
http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsmanagementservice2005.reportingservice2005.listchildren.aspx
BobP
|||You may have to alter this for your system but you can try the query below.
selectdistinctnamefrom dbo.Catalog
where policyroot = 0
andpathnotlike'/Data Source%'
andpathnotlike'/Model%'
orderbyname
|||
Thanks to both of you, now I have options because I used both and they work (with slight modifications).
I modified the query as follows and it gives me just the reports
selectdistinctnamefrom dbo.Catalog
where policyroot = 0
andtype= 2
orderbyname
I just didn't realize it was in the Catalog table, I swore I looked but I guess not.
Thanks again