Commit 9ba323fa34d1a8d7654cc03798fac7625c42a799
1 parent
6edb4ac3
added SPs on new location
Showing
13 changed files
with
377 additions
and
0 deletions
500-DBDump/AIA-StoredProcedures/GetLicenseSubscriptionDetails.sql
0 → 100644
1 | +-- ================================================ | |
2 | +-- Template generated from Template Explorer using: | |
3 | +-- Create Procedure (New Menu).SQL | |
4 | +-- | |
5 | +-- Use the Specify Values for Template Parameters | |
6 | +-- command (Ctrl-Shift-M) to fill in the parameter | |
7 | +-- values below. | |
8 | +-- | |
9 | +-- This block of comments will not be included in | |
10 | +-- the definition of the procedure. | |
11 | +-- ================================================ | |
12 | +SET ANSI_NULLS ON | |
13 | +GO | |
14 | +SET QUOTED_IDENTIFIER ON | |
15 | +GO | |
16 | +-- ============================================= | |
17 | +-- Author: <Utkarsh Singh> | |
18 | +-- Create date: <07/17/2017> | |
19 | +-- Description: <Returns LicenseSubscription Details based on LicenseId> | |
20 | +-- ============================================= | |
21 | +CREATE PROCEDURE GetSubscriptionDetailsByLicenseId | |
22 | + -- Add the parameters for the stored procedure here | |
23 | + @iLicenseId INT | |
24 | + | |
25 | +AS | |
26 | +BEGIN | |
27 | + -- SET NOCOUNT ON added to prevent extra result sets from | |
28 | + -- interfering with SELECT statements. | |
29 | + SET NOCOUNT OFF; | |
30 | + | |
31 | + -- Insert statements for procedure here | |
32 | + SELECT Id, LicenseId, SubscriptionPlanId, SubscriptionValidFrom, SubscriptionValidThrough, RenewalDate, PaymentMode, TotalAmount, AmountPaid, | |
33 | + AmountPending,NoofImages | |
34 | +FROM LicenseSubscriptionDetail | |
35 | +WHERE (LicenseId = @iLicenseId) | |
36 | +END | |
37 | +GO | |
0 | 38 | \ No newline at end of file | ... | ... |
500-DBDump/AIA-StoredProcedures/dbo.GetCustomerSummary.StoredProcedure.sql
500-DBDump/AIA-StoredProcedures/usp_SaveLabExerciseAttempts.sql
0 → 100644
1 | +USE [AIADatabaseV5] | |
2 | +GO | |
3 | +/****** Object: StoredProcedure [dbo].[usp_SaveLabExerciseAttempts] Script Date: 03/05/2018 12:10:16 ******/ | |
4 | +SET ANSI_NULLS ON | |
5 | +GO | |
6 | +SET QUOTED_IDENTIFIER ON | |
7 | +GO | |
8 | + | |
9 | +-- ==================================================== | |
10 | +-- Author: Nikita Kulshreshtha | |
11 | +-- Create date: 21-Feb-2018 | |
12 | +-- Description: To insert a LabExerciseData | |
13 | +-- ==================================================== | |
14 | + | |
15 | +if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[usp_SaveLabExerciseAttempts]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) | |
16 | +drop procedure [dbo].[usp_SaveLabExerciseAttempts] | |
17 | +GO | |
18 | + | |
19 | +CREATE PROCEDURE [dbo].[usp_SaveLabExerciseAttempts] | |
20 | + -- Add the parameters for the stored procedure here | |
21 | + | |
22 | + @UserId int, | |
23 | + @LabExerciseIdentifier nchar(10), | |
24 | + @LastQuestion int, | |
25 | + @TotalQuestions int, | |
26 | + @LabExerciseTempTbl LabExerciseTempTableType READONLY | |
27 | + | |
28 | + | |
29 | +AS | |
30 | +BEGIN | |
31 | + -- SET NOCOUNT ON added to prevent extra result sets from | |
32 | + -- interfering with SELECT statements. | |
33 | + SET NOCOUNT ON; | |
34 | + | |
35 | + BEGIN TRY | |
36 | + BEGIN TRANSACTION | |
37 | + DECLARE @labQuizId int; | |
38 | + DECLARE @count int; | |
39 | + DECLARE @Score int; | |
40 | + DECLARE @MaxScore int; | |
41 | + DECLARE @UserAnswers nvarchar(2000); | |
42 | + DECLARE @QuestionNo int; | |
43 | + DECLARE @CorrectAnswers nvarchar(2000); | |
44 | + DECLARE @DragItems nvarchar(max) | |
45 | + DECLARE @c int | |
46 | + | |
47 | + INSERT INTO LabExercise(UserId, LabExerciseIdentifier,IsActive, LastQuestion,TotalQuestions,SavedDate, ModifiedDate,CallFrom) | |
48 | + values(@UserId, @LabExerciseIdentifier, 1, @LastQuestion, @TotalQuestions,GETDATE(),GETDATE(),'AIAHTML5') | |
49 | + print 'inserted in 1st table' | |
50 | + SELECT @labQuizId = max(Id) from LabExercise where LabExerciseIdentifier = @LabExerciseIdentifier and UserId= @UserId | |
51 | + print @labQuizId | |
52 | +-- --check count before update | |
53 | +SELECT @count = count(*) FROM LabExercise where LabExerciseIdentifier = @LabExerciseIdentifier and UserId= @UserId and Id!=@labQuizId | |
54 | +print @count | |
55 | + if(@count>0) | |
56 | + BEGIN | |
57 | + print N'inside if' | |
58 | + UPDATE LabExercise set IsActive = 0 where LabExerciseIdentifier = @LabExerciseIdentifier and UserId= @UserId and Id!=@labQuizId | |
59 | + | |
60 | +----create temp table | |
61 | +create table #Temp | |
62 | +( | |
63 | + MaxScore int, | |
64 | + UserAnswers NVarchar(2000), | |
65 | + QuestionNo int, | |
66 | + CorrectAnswers NVarchar(2000), | |
67 | + DragItems NVarchar(2000), | |
68 | + Score int | |
69 | +) | |
70 | +select * from @LabExerciseTempTbl | |
71 | +insert into #Temp(MaxScore,UserAnswers,QuestionNo,CorrectAnswers,DragItems,Score) | |
72 | +select MaxScore,UserAnswers,QuestionNo,CorrectAnswers,DragItems,Score from @LabExerciseTempTbl | |
73 | +select @c = count(*) from #Temp | |
74 | +print @c | |
75 | +print 'inserted in temp table' | |
76 | + DECLARE LABEX_CURSOR CURSOR | |
77 | + LOCAL FORWARD_ONLY FOR | |
78 | + SELECT MaxScore, UserAnswers,QuestionNo, CorrectAnswers, DragItems,Score FROM #Temp | |
79 | + print 'cursor declared' | |
80 | + OPEN LABEX_CURSOR | |
81 | + print 'cursor open' | |
82 | + FETCH NEXT FROM LABEX_CURSOR INTO @MaxScore, @UserAnswers, @QuestionNo, @CorrectAnswers, @DragItems,@Score | |
83 | + WHILE @@FETCH_STATUS = 0 | |
84 | + BEGIN | |
85 | + print 'inside cursor' | |
86 | + INSERT INTO LabExerciseDetails(LabQuizId,StateObject,Score,MaxScore,UserAnswers,QuestionNo,CorrectAnswers,DragItems) values(@labQuizId,null,@Score,@MaxScore,@UserAnswers,@QuestionNo,@CorrectAnswers,@DragItems) | |
87 | + FETCH NEXT FROM LABEX_CURSOR INTO @MaxScore, @UserAnswers, @QuestionNo, @CorrectAnswers, @DragItems,@Score | |
88 | + print 'end cursor' | |
89 | + END | |
90 | + CLOSE LABEX_CURSOR | |
91 | + DEALLOCATE LABEX_CURSOR | |
92 | + END | |
93 | + COMMIT TRANSACTION | |
94 | + | |
95 | + END TRY | |
96 | + BEGIN CATCH | |
97 | + IF @@TRANCOUNT > 0 | |
98 | + ROLLBACK TRANSACTION | |
99 | + END CATCH | |
100 | + | |
101 | +END | |
102 | + | ... | ... |
500-DBDump/DeleteIncorretLoginAttempts.sql
0 → 100644
1 | +-- ================================================ | |
2 | +-- Template generated from Template Explorer using: | |
3 | +-- Create Procedure (New Menu).SQL | |
4 | +-- | |
5 | +-- Use the Specify Values for Template Parameters | |
6 | +-- command (Ctrl-Shift-M) to fill in the parameter | |
7 | +-- values below. | |
8 | +-- | |
9 | +-- This block of comments will not be included in | |
10 | +-- the definition of the procedure. | |
11 | +-- ================================================ | |
12 | +SET ANSI_NULLS ON | |
13 | +GO | |
14 | +SET QUOTED_IDENTIFIER ON | |
15 | +GO | |
16 | +-- ============================================= | |
17 | +-- Author: <EBIX SOFTWARE INDIA PVT. LTD> | |
18 | +-- Create date: <7/27/2017> | |
19 | +-- Description: <Description,,> | |
20 | +-- ============================================= | |
21 | +CREATE PROCEDURE DeleteIncorrectLoginAttempts | |
22 | + -- Add the parameters for the stored procedure here | |
23 | + @iUserId INT | |
24 | +AS | |
25 | +BEGIN | |
26 | + -- SET NOCOUNT ON added to prevent extra result sets from | |
27 | + -- interfering with SELECT statements. | |
28 | + SET NOCOUNT OFF; | |
29 | + | |
30 | + -- Insert statements for procedure here | |
31 | + DELETE from IncorrectLoginAttempts where UserId =@iUserId | |
32 | +END | |
33 | +GO | |
0 | 34 | \ No newline at end of file | ... | ... |
500-DBDump/ExtendLicense-WKLabGuide1replacement.sql
0 → 100644
1 | +update LicenseSubscriptionDetail | |
2 | +set SubscriptionValidFrom = '2017-09-11 00:00:00.000', SubscriptionValidThrough = '2019-09-11 23:59:59.997' | |
3 | +WHERE LicenseId in | |
4 | +(SELECT Id from License where InstitutionName = 'WKLabGuide1replacement') | |
5 | +and (SubscriptionValidFrom='2014-01-24 00:00:00.000' and SubscriptionValidThrough='2017-06-27 00:00:00.000') | |
6 | + | |
7 | +update License set IsActive=1 | |
8 | +where id in ( | |
9 | +SELECT LicenseId FROM LicenseSubscriptionDetail | |
10 | +WHERE LicenseId in | |
11 | +(SELECT Id from License where InstitutionName = 'WKLabGuide1replacement') | |
12 | +and (SubscriptionValidFrom='2017-09-11 00:00:00.000' and SubscriptionValidThrough='2019-09-11 23:59:59.997')) | |
0 | 13 | \ No newline at end of file | ... | ... |
500-DBDump/ExtendingLicenseExpiry_2.sql
0 → 100644
1 | +/*AUTHOR: Amrita Vishnoi | |
2 | +PURPOSE: Extending Licenses for Institution: EMC Publishing LLC po E10007276 | |
3 | +DATE: 11-Sep-2017 */ | |
4 | + | |
5 | +update LicenseSubscriptionDetail set SubscriptionValidFrom='2017-09-11 00:00:00.000' , SubscriptionValidThrough='2019-09-11 23:59:59.997' | |
6 | +where LicenseId in ( | |
7 | +(SELECT Id from License where InstitutionName = 'WKLabGuide1replacement') ) | |
8 | + | |
9 | + | |
10 | +update License set IsActive=1 | |
11 | +where id in ( | |
12 | +SELECT LicenseId FROM LicenseSubscriptionDetail | |
13 | +WHERE LicenseId in | |
14 | +(SELECT Id from License where InstitutionName = 'WKLabGuide1replacement') | |
15 | +and (SubscriptionValidFrom='2017-09-11 00:00:00.000' and SubscriptionValidThrough='2019-09-11 23:59:59.997')) | |
16 | + | |
17 | +****************************** If SubscriptionValidFrom and SubscriptionValidThrough old dates are available then run below query********** | |
18 | + | |
19 | +update LicenseSubscriptionDetail | |
20 | +set SubscriptionValidFrom = '2016-10-19 00:00:00.000', SubscriptionValidThrough = '2017-10-18 23:59:59.997' | |
21 | +WHERE LicenseId in | |
22 | +(SELECT Id from License where InstitutionName = 'EMC Publishing LLC po E10007276') | |
23 | +and (SubscriptionValidFrom='2013-01-08 00:00:00.000' and SubscriptionValidThrough='2014-01-07 23:59:59.997') | |
24 | + | |
25 | +update License set IsActive=1 | |
26 | +where id in ( | |
27 | +SELECT LicenseId FROM LicenseSubscriptionDetail | |
28 | +WHERE LicenseId in | |
29 | +(SELECT Id from License where InstitutionName = 'EMC Publishing LLC po E10007276') | |
30 | +and (SubscriptionValidFrom='2016-10-19 00:00:00.000' and SubscriptionValidThrough='2017-10-19 23:59:59.997')) | |
0 | 31 | \ No newline at end of file | ... | ... |
500-DBDump/GetLicenseSubscriptionDetails.sql
0 → 100644
1 | +-- ================================================ | |
2 | +-- Template generated from Template Explorer using: | |
3 | +-- Create Procedure (New Menu).SQL | |
4 | +-- | |
5 | +-- Use the Specify Values for Template Parameters | |
6 | +-- command (Ctrl-Shift-M) to fill in the parameter | |
7 | +-- values below. | |
8 | +-- | |
9 | +-- This block of comments will not be included in | |
10 | +-- the definition of the procedure. | |
11 | +-- ================================================ | |
12 | +SET ANSI_NULLS ON | |
13 | +GO | |
14 | +SET QUOTED_IDENTIFIER ON | |
15 | +GO | |
16 | +-- ============================================= | |
17 | +-- Author: <Utkarsh Singh> | |
18 | +-- Create date: <07/17/2017> | |
19 | +-- Description: <Returns LicenseSubscription Details based on LicenseId> | |
20 | +-- ============================================= | |
21 | +CREATE PROCEDURE GetSubscriptionDetailsByLicenseId | |
22 | + -- Add the parameters for the stored procedure here | |
23 | + @iLicenseId INT | |
24 | + | |
25 | +AS | |
26 | +BEGIN | |
27 | + -- SET NOCOUNT ON added to prevent extra result sets from | |
28 | + -- interfering with SELECT statements. | |
29 | + SET NOCOUNT OFF; | |
30 | + | |
31 | + -- Insert statements for procedure here | |
32 | + SELECT Id, LicenseId, SubscriptionPlanId, SubscriptionValidFrom, SubscriptionValidThrough, RenewalDate, PaymentMode, TotalAmount, AmountPaid, | |
33 | + AmountPending,NoofImages | |
34 | +FROM LicenseSubscriptionDetail | |
35 | +WHERE (LicenseId = @iLicenseId) | |
36 | +END | |
37 | +GO | |
0 | 38 | \ No newline at end of file | ... | ... |
500-DBDump/additionalScript/AddCallFromColumn_LabExercise.sql
0 → 100644
500-DBDump/additionalScript/AddSlugColumnInResourceModuleTable.sql
0 → 100644
1 | +USE AIADATABASEV5LIVE | |
2 | +ALTER TABLE ResourceModule | |
3 | + ADD Slug varchar(100); | |
4 | + | |
5 | +UPDATE ResourceModule SET SLUG= 'da-view-list' WHERE ID=1 | |
6 | +UPDATE ResourceModule SET SLUG= 'tile-view-list' WHERE ID=2 | |
7 | +UPDATE ResourceModule SET SLUG= '3d-anatomy-list' WHERE ID=3 | |
8 | +UPDATE ResourceModule SET SLUG= 'clinical-illustrations' WHERE ID=4 | |
9 | +UPDATE ResourceModule SET SLUG= 'clinical-animations' WHERE ID=5 | |
10 | +UPDATE ResourceModule SET SLUG= 'Link/encyclopedia' WHERE ID=6 | |
11 | +UPDATE ResourceModule SET SLUG= 'curriculum-builder' WHERE ID=7 | |
12 | +UPDATE ResourceModule SET SLUG= 'anatomy-test' WHERE ID=8 | |
13 | +UPDATE ResourceModule SET SLUG= 'Link/IP-10' WHERE ID=9 | |
14 | +UPDATE ResourceModule SET SLUG= 'lab-exercises' WHERE ID=10 | |
15 | +UPDATE ResourceModule SET SLUG= 'Link/indepth-reports' WHERE ID=11 | |
16 | +UPDATE ResourceModule SET SLUG= 'Link/complementary-and-alternate-medicine' WHERE ID=12 | |
17 | +UPDATE ResourceModule SET SLUG= 'ADAM-images' WHERE ID=13 | |
18 | +UPDATE ResourceModule SET SLUG= 'Link/bodyguide' WHERE ID=14 | |
19 | +UPDATE ResourceModule SET SLUG= 'Link/health-navigator' WHERE ID=15 | |
20 | +UPDATE ResourceModule SET SLUG= 'Link/wellness-tools' WHERE ID=16 | |
21 | +UPDATE ResourceModule SET SLUG= 'Link/aod' WHERE ID=1017 | ... | ... |
500-DBDump/additionalScript/CreateContentTable.sql
0 → 100644
1 | +CREATE TABLE Content | |
2 | +( | |
3 | + Id INT NOT NULL, | |
4 | + Title VARCHAR(50) NOT NULL, | |
5 | + Content NVARCHAR(MAX) | |
6 | +) | |
7 | + | |
8 | +INSERT INTO Content VALUES (1, 'Terms of Service', '<u><b>END USER LICENSE AGREEMENT: A.D.A.M. INTERACTIVE ANATOMY </b></u><br> | |
9 | +YOU SHOULD CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS OF THIS END USER LICENSE AGREEMENT (THIS "AGREEMENT") BEFORE YOU USE THE WEB APPLICATION (AS DEFINED BELOW). THIS AGREEMENT IS A LEGALLY BINDING CONTRACT BETWEEN A.D.A.M. Education, a division of Ebix, Inc. ("ADAM") AND YOU. ADAM IS LICENSING THE WEB APPLICATION TO YOU FOR YOUR USE ONLY AS SET FORTH BELOW. BY USING ANY PART OF THE WEB APPLICATION, YOU ACCEPT AND AGREE TO ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT ACCEPT AND AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT, YOU SHOULD NOT REGISTER THIS LICENSE OR USE THE WEB APPLICATION AND SHOULD PROMPTLY CONTACT A.D.A.M. , WITHIN TEN DAYS AFTER YOU OBTAIN THE WEB APPLICATION ACCESS, FOR A REFUND OF YOUR MONEY.<br> | |
10 | +<b>DEFINITIONS </b><br>The following definitions apply to the terms as they appear in this Agreement:<ul><li>"You" and "Your" refer to any person or entity that acquires or uses this Web Application.</li><li>"Content" means digitally encoded illustrations, pictures, images, animations, video, sound, text and other material for use by or with the Web Application.</li><li>"A.D.A.M. Content" refers to Content created by ADAM or its suppliers.</li><li>"A.D.A.M. Images" means all or part of A.D.A.M. Content that is displayed in a single window on a computer display at any time.</li><li>"Educational Multimedia Project" means a project created by an educator or student as part of a systematic learning activity by a Educational Institution that incorporates the student''s or educator''s original material, such as course notes or commentary, together with various copyrighted media formats including but not limited to, motion media, music, text material, graphics, illustrations, photographs and digital software which are combined into an integrated presentation.</li><li>"Educational Institution" means an organization whose primary focus is supporting research and instructional activities of educators and students for educational purposes.</li><li>"Guidelines" means the Fair Use Guidelines for Educational Media published by the Consortium of College and University Media Centers.</li><li>"Web Application" means, without limitation, the Web Application programs contained in A.D.A.M. Interactive Anatomy online created by ADAM or its suppliers, A.D.A.M. Content, documentation and other material provided to You by ADAM.</li><li>"Curriculum Builder" means the proprietary authoring tool of ADAM included in the Web Application.</li></ul> | |
11 | +<b>1. GRANT OF LICENSE </b><br> | |
12 | +Subject to the terms of this Agreement, ADAM grants You, and You accept from ADAM, a limited, personal, revocable, non-transferable, non-exclusive license to use the machine-readable, object code form of the Web Application and any accompanying documentation (the "Documentation") for personal use. The Web Application and Documentation are licensed (not sold) to you. You agree that ADAM does not transfer to you any of ADAM''s right, title, or interest in or to the Web Application or Documentation or any component part thereof except as expressly set forth herein, and under no circumstances shall this Agreement be considered a "sale" of the Web Application or Documentation or of any component part thereof to you. You agree that ADAM retains all right, title, and interest in and to the Web Application and Documentation and all component parts thereof and to all intellectual and industrial property rights therein, subject only to the limited right of use granted to you hereunder, which right of use ADAM may terminate or revoke in accordance with the terms of this Agreement. The Web Application contains components that actively monitor for license violations. In the event that a license violation is detected, the Web Application may be automatically disabled. You agree to allow for this monitoring to occur and for ADAM to disable the Web Application in the event that a license violation is detected.<br> | |
13 | +<b>2. PERMITTED USES OF THE WEB APPLICATION </b><br> | |
14 | +(A) Single Computer Use: Student''s and Instructor''s Editions (each referring to the Web Application)<br>ADAM grants You a limited license to use the Web Application as follows. You may:<ul><li>Log in to the Web Application to be accessed and used at only one log in session per (1) computer owned, leased, or otherwise controlled by You. Concurrent user or site license access, or use of the Web Application on two (2) or more computers concurrently is not permitted without separate written authorization by ADAM and the possible payment of additional license fees to ADAM; and</li><li>You may also make one copy of the Documentation for backup purposes. Any such copies of the Documentation shall include ADAM''s copyright and other proprietary notices. Except as authorized under this Section 2(a), no copies, clones, or duplicates of the Web Application or Documentation or any component part thereof may be made by You or any person under Your authority or control.</li></ul><p> | |
15 | +(B) Concurrent License Use: Student/Library Patron Edition</p><p>ADAM also grants You a limited license to use the Web Application as follows. You may:</p><ul><li>Access the Web Application up to the number but not greater than the quantity of concurrent users licensed. Web Application to be accessed and used at only up to the license quantity in sessions on computer owned, leased, or otherwise controlled by You or Your enrolled students and faculty or library patrons.</li><li>You may also make one copy of the Documentation for backup purposes. Any such copies of the Documentation shall include ADAM''s copyright and other proprietary notices. Except as authorized under this Section 2(b), no copies, clones, or duplicates of the Web application and Documentation or any component part thereof may be made by You or any person under Your authority or control.</li></ul><p> | |
16 | +(C) Site License Use: Student/Faculty and Library Patron Edition</p><p>ADAM also grants You a limited license to use the Web Application as follows. You may:</p><ul><li>Access the Web Application through a secure username and password location on your organizations intranet, learning management system, OPAC or other portal requiring user ID and password entry. Web Application to be accessed and used only by enrolled students and employed faculty or library patrons, sessions on computer owned, leased, or otherwise controlled by You or Your enrolled students and faculty or library patrons. </li><li>You may also make one copy of the Documentation for backup purposes. Any such copies of the Documentation shall include ADAM''s copyright and other proprietary notices. Except as authorized under this Section 2(c), no copies, clones, or duplicates of the Web application and Documentation or any component part thereof may be made by You or any person under Your authority or control.</li></ul><br> | |
17 | +<b>3. PERMITTED USES OF THE A.D.A.M. CONTENT </b><br> | |
18 | +ADAM grants You a limited license to use the A.D.A.M. Content in accordance with this Agreement. The permitted uses of A.D.A.M. Content listed below do <u>not</u> apply to any commercial use of the A.D.A.M. Content. Commercial use (that is, use of A.D.A.M. Content in any other means not expressly granted herein would require an additional license from ADAM. | |
19 | +<ul><li><b>For electronic Educational Multimedia Projects created using Curriculum Builder: </b> Using<b> Curriculum Builder</b>, You may use A.D.A.M. Content to create electronic Educational Multimedia Projects, and may include an unlimited number of A.D.A.M. Images in each of those <b>Curriculum Builder</b> projects. You may modify any A.D.A.M. Image included in a<b> Curriculum Builder</b> electronic Educational Multimedia Project (for example, by adding labels), as long as you maintain the integrity of the A.D.A.M. Image and include ADAM''s copyright notice (© 2012 A.D.A.M. Education.) with the image. You may publish a<b> Curriculum Builder</b> Educational Multimedia Project electronically, on a local network or on the Internet, without restriction only while Your subscription to the Web Application is active.</li><br> | |
20 | +<li><b>For electronic Educational Multimedia Projects created using authoring tools other than Curriculum Builder: </b> You may use A.D.A.M. Content to create electronic Educational Multimedia Projects with authoring tools other than <b>Curriculum Builder</b>, subject to the restrictions specified in this paragraph. For example, You could extract an A.D.A.M. Image and import the image into a graphics package (such as Microsoft® PowerPoint®), solely for inclusion in your electronic Educational Multimedia Project, and modify the extracted A.D.A.M. Image (for example, by adding labels). If You modify an extracted A.D.A.M. Image, you must maintain the integrity of the image, note in your projects that you have modified the image, and include ADAM''s copyright notice (© 2012 A.D.A.M. Education) with the image. The number of A.D.A.M. Images included in all electronic Educational Multimedia Projects created using any authoring tool other than<b> Curriculum Builder</b> must not exceed, in the aggregate, 100 images for each licenses You have subscribed to of the Web Application. If an electronic Educational Multimedia Project created using an authoring tool other than<b> Curriculum Builder</b> is placed on Your computer network, You are responsible for taking reasonable steps to ensure that access to such electronic Educational Multimedia Project is strictly limited to authorized students and educators of Your Educational Institution (for example, through the use of a password or PIN). You must also provide notice that the electronic Educational Multimedia Project is copyrighted and may not be copied and distributed by students. You may use such electronic Educational Multimedia Project only while Your subscription to the Web Application is active.</li><br> | |
21 | +<li>You may make up to five (5) copies of an Educational Multimedia Project in the form of a videotape that includes A.D.A.M. Content, with no restriction on the number of A.D.A.M. Images that may be used in such videotape; but such videotapes may not be sold, offered for sale, leased, rented, licensed or otherwise used for any commercial purpose. If You are an academic institution, such videotapes may be made available only to students and staff and may not be distributed outside Your institution.</li><br> | |
22 | +<li>You may create print copies of an Educational Multimedia Project using the A.D.A.M. Content and make up to one thousand (1000) copies of each page of such output (if You are an academic institution, You may make up to one thousand (1000) copies of each page of such output per quarter), provided that the number of A.D.A.M. Images included in all print Educational Multimedia Projects created under each subscription license You have of the Web Application, in the aggregate, must not exceed one hundred (100) images and You must not bind projects in a book or book-like form. If You are an academic institution, You may sell copies of print projects to Your students, but only for an amount sufficient to cover Your cost of reproduction and distribution, not for a profit. If You make more than fifty (50) copies of a print Educational Multimedia Project, You must provide ADAM with a copy of such print project for archival purposes. You may use such print copies of an Educational Multimedia Project only while Your subscription to the Web Application is active.</li><br> | |
23 | +<li>You may make up to five (5) copies of an Educational Multimedia Project in the form of 35 mm photographic slides or overhead transparencies that include A.D.A.M. Content, provided that the number of A.D.A.M. Images included in all such projects created under each license You have of the Web Application, in the aggregate, must not exceed one hundred (100) images.</li></ul> | |
24 | +All output and copies You make of A.D.A.M. Content, regardless of their form, must bear and prominently display ADAM''s copyright notice in the following form: <b>© 2012 A.D.A.M., Education</b>. ADAM reserves, and You hereby grant to ADAM the right to review all such copies to verify compliance with this Agreement. | |
25 | +The permitted uses described above are based in large part upon the Fair Use Guidelines for Educational Media published by the Consortium of College and University Media Centers. In the event of any discrepancies between the specific terms of this Agreement and the Guidelines, this Agreement will govern. The Guidelines may be found at http://www.ccumc.org/copyright/ccguides.html | |
26 | +If you would like to make any use of the A.D.A.M. Content not authorized under this Agreement, you should contact A.D.A.M. Education License Administrator at 800-755-2326.<br> | |
27 | +<b>4. OWNERSHIP OF PROJECTS</b><br> | |
28 | +You retain ownership of (i) any electronic Educational Multimedia Project created using the A.D.A.M. Content, whether or not such project was created using Curriculum Builder, and any copies You make of such electronic Educational Multimedia Project and (ii) any intellectual properties related to such project. However, ADAM or its suppliers will retain ownership of (i) all A.D.A.M. Content, including the A.D.A.M. Images, used in any electronic Educational Multimedia Project and all A.D.A.M. Images that You alter or modify in the creation of such project and (ii) any intellectual properties related to the A.D.A.M. Content, including the A.D.A.M. Images, whether or not altered or modified.<br> | |
29 | +<b>5. PRIVACY AND PRODUCT ACTIVATION </b><br> | |
30 | +When the Web Application is first used, it must be activated. A questionnaire is provided with information submitted to ADAM prior to the online activation process, along with the license data. The information may be used by ADAM for the purposes of developing marketing materials for future and existing products. | |
31 | +<p>In addition to the questionnaire, information, and license, certain identifying system information is encrypted via a one-way hash function and the result of this function is transmitted as well. This system information is used solely to uniquely identify the machine that the Web Application is access from, and the hash function prevents the retrieval of the original system information from the hashed result. The use of internet protocols necessitates that the program will also transmit the IP (internet protocol) address of the machine from which the Web Application is being used, and this information may be logged by ADAM''s servers as well. All information is transmitted via SSL (secure socket layer) to deter electronic eavesdropping.</p> <br> | |
32 | +<b>6. RESTRICTIONS </b><br> | |
33 | +You agree that the Web Application and Documentation and all component parts thereof contain copyrighted material, trademarks, trade secrets, and other proprietary material of ADAM protected under applicable U.S. and international intellectual and industrial property laws (regardless of whether such rights of ADAM are registered or unregistered). You agree that, except as provided for in Section 2 above, you will not: (i) copy, reproduce, modify, network, rent, loan, lease, re-sell, or otherwise distribute the Web Application or Documentation any of its or their components to any third-party; (ii) make the Web Application or Documentation available on any public Internet sites, by "bulletin boards," on-line services, remote dial-in, or network or telecommunications link of any kind; (iii) create derivative works or any other works that are based on or derived, in whole or in part, from the Web Application, A.D.A.M. Content, or Documentation or any of its or their components; (iv) assign, sublicense, transfer, pledge, or otherwise share your rights under this Agreement; or (v) decompile, reverse engineer, disassemble, or translate the Web Application or otherwise reduce the Web Application to a humanly perceivable form. The trademarks, service marks, and logos used on the Web Application and/or Documentation are owned by ADAM or third parties who have granted limited rights of use to ADAM, and all rights therein are reserved by the respective owners. You will not alter, remove, or obfuscate any trademarks, copyrights, or other proprietary rights notices contained on the Web Application or the Documentation.<br> | |
34 | +<b>7. TRANSFER </b><br> | |
35 | +You may not permanently transfer all of Your rights under this Agreement.<br> | |
36 | +<b>8. TERMINATION</b><br> | |
37 | +This Agreement and Your rights to use the Web Application and Documentation terminate automatically if You violate any part of this Agreement or the Guidelines. In the event of termination, You must immediately remove all access of the Web Application and Documentation.<br> | |
38 | +<b>9. DISCLAIMER OF WARRANTY </b><br> | |
39 | +THE WEB APPLICATION AND DOCUMENTATION IS PROVIDED ON AN "AS-IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ADAM DISCLAIMS ANY WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ALL WARRANTIES AGAINST INFRINGEMENT ARE HEREBY DISCLAIMED EXCEPT ADAM REPRESENTS THAT IT HAS SUFFICIENT AUTHORIZATION TO LICENSE THE WEB APPLICATION AND DOCUMENTATION TO YOU. ADAM DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE WEB APPLICATION MEET YOUR REQUIREMENTS OR THAT THE USE OF THE WEB APPLICATION WILL BE UNINTERRUPTED OR ERROR FREE. ADAM MAKES NO REPRESENTATION OR WARRANTY THAT ITS WEB APPLICATION WILL WORK IN COMBINATION WITH ANY HARDWARE APPLICATIONS OR WEB APPLICATION OF THIRD PARTIES, OR THAT ALL DEFECTS IN THE WEB APPLICATION WILL BE CORRECTED. THE WEB APPLICATION MAY INCLUDE OR BE BUNDLED WITH THIRD-PARTY WEB APPLICATION, THE USE OF WHICH IS GOVERNED BY A SEPARATE END-USER LICENSE AGREEMENT. THIS WARRANTY DOES NOT APPLY TO SUCH THIRD PARTY WEB APPLICATION. FOR APPLICABLE WARRANTY INFORMATION FOR SUCH THIRD PARTY WEB APPLICATION, PLEASE REFER TO THE END USER LICENSE AGREEMENT GOVERNING THE USE OF SUCH THIRD PARTY WEB APPLICATION OR THE ACCOMPANYING DOCUMENTATION RELATING TO SUCH THIRD PARTY WEB APPLICATION. | |
40 | +If the Web Application fails to comply with these limited warranties, at A.D.A.M. Education, a division of Ebix, Inc. option, make a reasonable effort to correct any nonconformities in the Web Application. | |
41 | +If ADAM is unable to correct defective media or nonconformities in the Web Application, ADAM will refund the price You paid for this subscription. The refund will fully satisfy all of Your claims under this limited warranty. This limited warranty shall continue for any replacement Web Application for the rest of the original 90-day warranty period or for 30 days from the date You receive the replacement license, whichever is longer. ADAM ''s liability to You for actual damages for any cause whatsoever, and regardless of the form of the action, will be limited to the money paid for the Web Application Subscription.<br> | |
42 | +<b>10. DISCLAIMER OF MEDICAL WARRANTY </b><br> | |
43 | +ADAM MAKES NO REPRESENTATION OR WARRANTY TO YOU OR ANY OTHER PARTY REGARDING THE ACCURACY OF ANY MEDICAL INFORMATION MADE AVAILABLE THROUGH THE WEB APPLICATION. YOU AGREE THAT THE WEB APPLICATION IS MADE AVAILABLE TO YOU ONLY FOR GENERAL EDUCATION AND ENTERTAINMENT PURPOSES. YOU SHOULD NOT USE ANY INFORMATION MADE AVAILABLE THROUGH THE WEB APPLICATION TO DIAGNOSE OR TREAT ANY MEDICAL CONDITION. YOU SHOULD CONSULT A LICENSED PHYSICIAN TO DIAGNOSE AND TREAT ANY MEDICAL CONDITION.<br> | |
44 | +<b>11. LIMITATION OF LIABILITY </b><br> | |
45 | +(a) IN NO EVENT SHALL ADAM''S CUMULATIVE LIABILITY TO YOU OR ANY OTHER PARTY FOR ANY LOSS OR DAMAGES RESULTING FROM ANY CLAIMS, DEMANDS, OR ACTIONS (WHETHER IN CONTRACT, TORT, OR OTHERWISE) ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE USE OF (OR THE INABILITY TO USE) THE WEB APPLICATION AND DOCUMENTATION EXCEED THE AMOUNT OF LICENSE FEES ACTUALLY PAID BY YOU TO ADAM FOR THE WEB APPLICATION AND DOCUMENTATION. | |
46 | +(b) IN NO EVENT SHALL ADAM BE LIABLE TO YOU OR ANY OTHER PARTY FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, OR EXEMPLARY DAMAGES, OR LOST PROFITS, EVEN IF ADAM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY TO YOU. <br> | |
47 | +<b>12. EXPORT CONTROLS </b><br> | |
48 | +The Web Application and Documentation and every component part thereof are subject to the export controls of the United States of America (including, without limitation, the U.S. Export Administration Act and any regulations thereto). No portion of the Web Application may be downloaded, exported, or re-exported: (i) into (or to a national or resident of) Cuba, Iraq, Libya, Sudan, North Korea, Iran, Syria, or any country to which the United States of America has embargoed goods; or (ii) to anyone on the U. S. Treasury Department''s list of Specially Designated Nationals or the U. S. Commerce Department''s Table of Denial Orders. By using the Web Application, you are agreeing to the foregoing and you are warranting that you are not located in, under the control of, or a national or resident of any such country on any such list. <br> | |
49 | +<b>13. U.S. GOVERNMENT RESTRICTED RIGHTS </b><br> | |
50 | +The Web Application and Documentation are provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at D.F.A.R.S. 252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial Computer Software - Restricted Rights at 48 C.F.R. 52.227-19, as applicable. The manufacturer for such purpose is A.D.A.M., Inc., 10 10th Street, Suite 500, Atlanta, Georgia 30309.<br> | |
51 | +<b>14. MISCELLANEOUS </b><br> | |
52 | +This Agreement shall be governed by the laws of the State of Georgia, United States of America, excluding the application of its conflicts of law provisions. You agree that all legal proceedings arising out of or in connection with this Agreement shall be brought exclusively in the state courts of Georgia located in Fulton County, Georgia, or the U.S. District Court located in the Northern District of Georgia - Atlanta Division, and You expressly submit to the jurisdiction and venue of such courts and consent to extra-territorial service of process, should a dispute arise. Should any provision of this Agreement be declared invalid or unenforceable by any court of competent jurisdiction, such provision shall be deemed severable from this Agreement and shall not affect the validity and enforceability of the remaining provisions of this Agreement. If any action is brought by either party to this Agreement against the other party regarding the subject matter of this Agreement, the prevailing party shall be entitled to recover, in addition to any other relief granted, reasonable attorneys'' fees and expenses of such action. The failure or delay at any time of either party to this Agreement to require performance by the other party of any responsibility or obligation provided for in this Agreement shall in no way affect the full right of such party to require such performance at any time thereafter, nor shall the waiver by either such party of a breach of any provision of this Agreement by the other party constitute a waiver of any succeeding breach of the same or any other provisions, nor constitute a waiver of the responsibility or obligation itself. This Agreement constitutes the entire agreement between You and ADAM relating to the subject matter herein and shall not be modified except in writing signed by both you and ADAM. You agree that any violation by You of the provisions of this Agreement would cause ADAM irreparable harm for which ADAM would have no adequate remedy at law. Therefore, in addition to other remedies, which may be available to ADAM, ADAM will be entitled to seek injunctive relief, without the necessity of posting bond, against any such violation or threatened violation. | |
53 | +<p>Copyright © 2012 A.D.A.M. Education, Ebix, Inc.. All rights reserved.<br> | |
54 | +A.D.A.M. Interactive Anatomy requires Adobe Flash Player software by Adobe, Inc., Copyright © 2012 Abode, Inc. All rights reserved. Adobe, and Flash are trademarks of Adobe, Inc.<br> | |
55 | +A.D.A.M. Interactive Anatomy requires Unity Pro Player software by Unity Technologies, Copyright © 2012 Unity Technologies. All rights reserved. Unity Pro and Unity Technologies are trademarks of Unity Technologies.</p> | |
56 | +') | |
0 | 57 | \ No newline at end of file | ... | ... |
500-DBDump/additionalScript/CreateLabExerciseTempTableType.sql
0 → 100644
500-DBDump/getAIAUserListBasedOnInstitute.sql
0 → 100644
1 | +select * from AIAUser where Id in ( select UserId from AIAUserToLicenseEdition where LicenseEditionId in (select Id from LicenseToEdition where LicenseId in (select Id from License where InstitutionName ='WKLabGuide1replacement' ))) | ... | ... |
500-DBDump/missingOnProduction/GetLicenseSubscriptionDetails.sql
0 → 100644
1 | +-- ================================================ | |
2 | +-- Template generated from Template Explorer using: | |
3 | +-- Create Procedure (New Menu).SQL | |
4 | +-- | |
5 | +-- Use the Specify Values for Template Parameters | |
6 | +-- command (Ctrl-Shift-M) to fill in the parameter | |
7 | +-- values below. | |
8 | +-- | |
9 | +-- This block of comments will not be included in | |
10 | +-- the definition of the procedure. | |
11 | +-- ================================================ | |
12 | +SET ANSI_NULLS ON | |
13 | +GO | |
14 | +SET QUOTED_IDENTIFIER ON | |
15 | +GO | |
16 | +-- ============================================= | |
17 | +-- Author: <Utkarsh Singh> | |
18 | +-- Create date: <07/17/2017> | |
19 | +-- Description: <Returns LicenseSubscription Details based on LicenseId> | |
20 | +-- ============================================= | |
21 | +CREATE PROCEDURE GetSubscriptionDetailsByLicenseId | |
22 | + -- Add the parameters for the stored procedure here | |
23 | + @iLicenseId INT | |
24 | + | |
25 | +AS | |
26 | +BEGIN | |
27 | + -- SET NOCOUNT ON added to prevent extra result sets from | |
28 | + -- interfering with SELECT statements. | |
29 | + SET NOCOUNT OFF; | |
30 | + | |
31 | + -- Insert statements for procedure here | |
32 | + SELECT Id, LicenseId, SubscriptionPlanId, SubscriptionValidFrom, SubscriptionValidThrough, RenewalDate, PaymentMode, TotalAmount, AmountPaid, | |
33 | + AmountPending,NoofImages | |
34 | +FROM LicenseSubscriptionDetail | |
35 | +WHERE (LicenseId = @iLicenseId) | |
36 | +END | |
37 | +GO | |
0 | 38 | \ No newline at end of file | ... | ... |