I should start to integrate sub-querying into my queries to make them run more efficiently and faster.Below is a query that I use often as a template, often just modifying the day, order and truenumber. how to set up a sub-query for this.
select "betatest", order, age, gender, geo, count (1), count (distinct rdz.id)
from analytics1 rdz
join analytics_2 alvds on (rdz.id = alvds.id)
left outer join analytics3 spd on (alvds.zipcode = spd.zip)
where day >= '2014-08-01'
and day <= '2014-09-30'
and order = 317228536
and truenumber = 540192016
group by "betatest",order,age, gender,geo;
i have written so many queries in sql 2000/2005 and now i have to integrate them into sharepoint which i have never done..can anyone guide me how it can be done? or where i have to post this question? the correct forum?
Is there a way to compare a script in Visual source safe with sql 2005 stored procedure without scripting out the stored procedure from sql? I usaually script out a stored procedure from sql to a .sql file and compare it with a script in VSS and I was wondering if anyone know a faster way to compare SPs in production server with VSS. I am using sql management studio and also added all SPs to VSS thru management studio. Thanks.
hi all, would like to ask for help...is anyone know how save the ms project into database, is it possible to save it into MSSQL.i am just a new beginner..thanks in advanced.-Myra-
One of the biggest problems today is that damn slow file system and windows registry, the NTFS file system is good when you work with a small amount of files, and once you have more files, it becomes slower and slower. And the same applies to the Windows Registry. It would be wonderful if the SQL Server 2005 everywhere edition is provided as a low level Windows Kernel API, so instead of using a prehistoric NTFS file allocation table for the file system, Microsoft will use the sql server to store the list of files and folder. I am not talking about the data itself, it can stay as it is today, do not repeat the insane WinFs mistake for the third time, just the list of files and folders, the registry entries, the event log, etc, all the things that are based on an outdated slow prehistoric legacy code, just have them in the SQL Server Everywhere Edition, and the performance will skyrocket, just every other application running under windows will improve. If this happens, things like Slow VS.NET issues, Slow Windows Vista RC1, and other slow Microsoft products will just become faster again. Well, just a wish, perhaps we need 10 additional years until the microsoftians get it :-)
The problem is integrating an ADO connection into a Service in C#. The peculiar thing is that the same thing works well in an application but throws a problem in the Service i.e. the Service doesnt want to start...
The problem is at establishing the connection - but the same thing works just fine in an Windows application.
My current situation is how to integrate my application written in asp.net to link to my report server's report ?
as by default anonymous user can access my report server's report without any authentication. how to configure to make the report server by using form authentication before access the reports?
My Application Configuration
Web application (Vb.Net) - http://192.168.1.18/mobiFO
I was wondering if anyone could help me with this. I am currently working on a project for reporting on a new acquisition the company have made. Unfortunately, the people I have to give access to the SQL Server are using Netware for authentication.
Is there any way to allow these people to log into SQL Server without having to create a SQL authenticated user for each of them?
For last 2 days, I'm struggling to integrate WSS 3.0 with SP1 with SQL Server 2005 Reporting Services with SP2 with Kerberose authentication.
And finally I'm stuck
At the moment I've got 2 issues, one is when "Set defaults" on Central Administration site, second is when I'm trying to browse the reporting server for report €“ using Report Viewer webpart configuration (when selecting "Report").
Before I will go futher with errors message, here is my configuration:
SQL Server 2005 with SP2, Reporting Services with SP2, WSS 3.0 with SP1 Front End: Computer: SharePointDB | SharePointDB.led.local Front End Portal url: http://sharepointdb | http://sharepointdb.led.local URL to reporting services: http://sharepointdb/SPSReportServer | http://sharepointdb.led.local/SPSReportServer Front End App Pool: LEDSPContentPool Reporting Services App Pool: LEDSPConfigAcct Report Server Service Account: LEDSPConfigAcct SQL Server Account: LEDSPConfigAcct
I know I should have separate account.
Service Principals (SPContentPool): Registered ServicePrincipalNames for CN=SPContentPool,CN=Users,DC=LED,DC=LOCAL: HTTP/sharepoint02 HTTP/sharepoint02.led.local
Service Principals (SPConfigAcct): Registered ServicePrincipalNames for CN=SPConfigAcct,CN=Users,DC=LED,DC=LOCAL: HTTP/sharepointdb HTTP/sharepointdb.led.local MSSQLSrv/sharepointdb.led.local:1433 HTTP/sharepointadmin02.led.local HTTP/sharepointadmin02
Reporting add-in is activated, I'm able to specify the report server (http://sharepointdb.led.local/SPSReportServer) and to grant permission.
1) FIRST ISSUE However when I'm trying to set the defaults for Reporting Services from Central administration I'm getting following error:
The target location you specified is not supported by the report server. A report definition (.rdl), report model (.smdl), resource, or shared data source (.rsds) file must be located within a library or a folder within it. ---> The target location you specified is not supported by the report server. A report definition (.rdl), report model (.smdl), resource, or shared data source (.rsds) file must be located within a library or a folder within it.
Reporting Server error message is: w3wp!library!1!03/12/2008-12:15:23:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ContainerTypeNotSupportedException: The target location you specified is not supported by the report server. A report definition (.rdl), report model (.smdl), resource, or shared data source (.rsds) file must be located within a library or a folder within it., ; Info: Microsoft.ReportingServices.Diagnostics.Utilities.ContainerTypeNotSupportedException: The target location you specified is not supported by the report server. A report definition (.rdl), report model (.smdl), resource, or shared data source (.rsds) file must be located within a library or a folder within it. w3wp!library!1!03/12/2008-12:15:39:: Call to GetDataSourceContentsAction(http://sharepoint02.led.local/lrs/Reports/SHAREPOINTDB.rsds). w3wp!library!5!03/12/2008-12:15:49:: Call to GetDataSourceContentsAction(http://sharepoint02.led.local/lrs/Reports/SHAREPOINTDB.rsds). w3wp!library!1!03/12/2008-12:15:52:: Call to GetDataSourceContentsAction(http://sharepoint02.led.local/lrs/Reports/SHAREPOINTDB.rsds). w3wp!library!1!03/12/2008-12:15:55:: Call to GetDataSourceContentsAction(http://sharepoint02.led.local/lrs/Reports/SHAREPOINTDB.rsds). w3wp!library!1!03/12/2008-12:16:07:: Call to GetDataSourceContentsAction(http://sharepoint02.led.local/lrs/Reports/SHAREPOINTDB.rsds). w3wp!library!1!03/12/2008-12:16:59:: Call to GetDataSourceContentsAction(http://sharepoint02.led.local/lrs/Reports/SHAREPOINTDB.rsds). w3wp!library!1!03/12/2008-12:17:11:: Call to GetPermissionsAction(http://sharepoint02.led.local/lrs/Reports/TestSharepoint.rdl).
This error message then repeats few times, usually always after: w3wp!library!5!03/12/2008-11:18:16:: Call to GetSystemPropertiesAction().
2) SECOND ISSUE
When the I'm trying to add Report Viewer (I'm logged as Portal administrator) and then select the report from web part settings, I'm getting: Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.
When I'm looking at the Event log in SharePointDB I see Anonymous login:
I'm going to use report viewer to view the SSRS reports that I create. I have created bunch of reports. But I can publish only one report on report viewer. How can I publish more than one reports there just like on report manager. Can I view those reports just clicking links of each reports? How can I make links? When I use reportview in visual studio it allows me to create only one report and when I dploy it straightaway it brings up the report in web form, but not the link like we see on report manager. Is there anyway I can create links for each reports?
Or in other words, I want to integrate report server and report viewer. But I dont have a very good idea about report viewer. So please can anyone explain the basic steps?
I'm new to SSIS field. I'm importing data from flat files to sql server 2005 through SSIS packages. I have around 30 packages which transfers data from flat files to corresponding database tables. I want a single package that will run all the 30 packages by running that single package. Like in a single stored procedure we can run multiple stored procedure, I want the same solutions for my packages. Is there any method which can solve the above issue???
Please kindly guide me . Its urgent. please reply soon.
I thought I can probably find out how the report manager works and create a similar application so that I can define my own things in there.
Looks like there is no sample where I could get a lead. Now I have decided if I can include the report manager in a new aspx page in my application and disable the stuff which is not required by the user to look at it.
I can definitely include the report manager url in the Iframe but how do I disable the stuff from the report manager.
Hi,i have a MDF sql server express database used by an asp.net application (located in local dir App_Data on the same computer as the Sql server).I would like to integrate it into Sql Server express. I mean: NOT only attach it, but transform it as it was created direclty into Sql server and not in Visual Web Developper tool.In Studio Management, i rightclicked on Databases and i took 'Attach'. Now i can see and manage that database from Studio Management, but it still refers to the local path of the MDF file. I see that by doing this query: select * from master...sysdatabases How can i make it a full database of Sql server?Thanks Tartuffe
Hi, I just designed a website using asp.net 2.0, now my customer hopes I can add Search website feature, he expected that it can search both static text in aspx and dynamic content in SQL Server. The problem is : I don't know how to compose the result URL to the user. Suppose I have a table called "Table1", webform1.aspx and webform2.aspx will retrieve data from this table, and the query string of these two pages are different. After searching the table, I expected that there will be two matching records, the first one is linked to "webpage1.aspx?ID1=xxx" and the second one is linked to "webpage2.aspx?ID2=xxx". Must I hard code the result page for each searchable table? Any other solutions? Thanks, Ziff
I need to integrate some tables from SQL server 2008 to SYBASE SQL(FLUKE METCAL). SQL Front-end Dynamics AX and Metcal backend is SYBASE SQL. I prefer SSIS to achieve this task.
How to integrate SQL Server Business Intelligence Tool into ASP.Net web Application. Anybody can send the answer for above one it is great help for me, just I want to open this tool through >net application and I can able to create some reports from there.
Dear friends, I'm having problems changing the reporting services from native modo to integrate mode... I saw a lot of articles and tips, but I still have problems... For example, when I change my database setup to integrate mode there is all ok, but in the SharePoint tab has an image with error...
and in the sharepoint server when I need to grant acess to database gets an error to...
and the page that always runned : http://CGDWX01115883/ReportServer
after I change to integrate does not work and gives me this error: Reporting Services Error
An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help
Exception has been thrown by the target of an invocation.
Could not load file or assembly 'Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
SQL Server Reporting Services
This page must run ok, no? Get Online Help
Exception has been thrown by the target of an invocation.
Could not load file or assembly 'Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
SQL Server Reporting Services
This page must run ok, no? http://CGDWX01115883/ReportServer
CGDWX01115883 is the report server and database server SDC6001SPT01 is the SharePoint Server
i am new for SQL server report service, i have a project that need to generate report and integrate or shown on my window application, so i have a few questions as follows:
1) do i need to add web reference ( report ) to my window application?. 2) how can i preview and print .rdl report within my window application? 3) how to automatically printer report? can this be done by within a store procedure or trigger or in window application?
ps: view reprot manager, ---- http://localhost/reportserver$SQLEXPRESS ask me name & password? what name should i type in sa? or Administrator or ?
Hi, I am a Microsoft BI Developer and currently working on Pharmaceutical BI project. In this project, Client wants to integrate his Blaze Advisor rule engine to SSIS so that he can change the rules in Blaze advisor any time and see the effect of it on the source data. Hence, my question is:
How can i integrate the "Blaze Advisor" to "SQL Service Integration Services" (Microsoft SQL Server ETL tool) which will use my Business Rules ( Written in Blaze Advisor) in the transformation task and process all my source data with the same business logic?
My Trails to Solve this problem:
I have written the rule in the Blaze Advisor & Imported it's rules into .Net file which includes *.Server, *.Client and some other files. I have used the DLLs in this solution in my SSIS script task but it's not supporting to it. It is demanding for *.Server & *.Client files there.
- Can you suggest me a way to integrate SSIS with Blaze Advisor? - How can i use the Blaze Advisor's .Net output files as DLLs into my custom transformation?
I'll be really greatful to you if you could suggest me an approch for this particular business problem.
Hello, I would like to know if anyone here has any information on how to change the default version of SQL Server 2005 Express which ships with Visual Studio 2005 to the new SQL 2005 Express SERVICE PACK 1?
I see a file under disc:vswcuSSESQLEXPR.exe I am wondering if changing that file with the new one from Microsoft Download Center will do it...
There's another file under that folder named sqlexpr32.exe I am wondering what it's for?
I'm a newbie to SQL and wanted to see if someone could help me write a query. I store historical options data in a SQL data base and I'm trying to create a query that will retrieve all ATM (at the money options).
For each unique stock symbol (STOCK_SYMBOL) in my database find the strike price (STRIKE) which is closest to the stock price (UND_LAST). This will be refined by the EXPIRATION and OPT_TYPE
The following query returns all options not just ATM options.
SELECT STOCK_SYMBOL, UND_LAST, STRIKE, EXPIRATION FROM DATA
WHERE EXPIRATION > '2007-02-01 00:00:00' AND EXPIRATION < '2007-02-28 00:00:00' AND OPT_TYPE = 'CALL'
I am using MS SQL Server 2005 Import and Export Wizard (.net framework Data Provider for mySAP Business Suite. )
as a interface between SAP and MS SQL 2005.
Once the connection is created i can use basic query to fetch the data from SAP tables ie., SELECT * FROM AFPO
But say I want to EXTRACT data just for month of July from AFPO.
AFPO does not have date field so you have to join AFPO to AUFK and AUFK to COEP to fetch the date as a criteria to restrict data for the month of July .
This can be done in ABAP by view or Interim Table, if you have Developer Key.
Can anyone please tell me if aforesaid is possible with MS SQL Server 2005 Import and Export Wizard query ?
Hello, I want to find all the entries where the date field is a specific date; so I may have 5 entries with the date 1/1/2006, and I want to find all of those. However, datetime fields in SQL Server also have the time, so how do you handle that? Can you just say where requestdate = getdate() to get all of the entries that have records for today? How does time affect this?
Hi,I am new to sql and was wondering if someone could help with this select statement. please don't laugh! SELECT * FROM product_detailsWHERE MemberId = @MemberIdINNER JOIN Member_Ratings ON product_details.MemberId = member_ratings.MemberIdSELECT COUNT(*) FROM member_ratings AS FinalHighRating WHERE member_ratings.MemberId = product_details.MemberId AND member_ratings.Rating = 5 Any questions? Thanks!