Академический Документы
Профессиональный Документы
Культура Документы
1)First we need to use SQL SERVER MANAGEMENT STUDIO to get the execution
statement
Steps to be followed in SQL SERVER MANAGEMENT STUDIO
Click on connect and select Database engine
New pop up wil appear ,Provide all the required data as shown below
Execution statements
USE [TransientCartEDell]
GO
DECLARE
@return_value int,
@lastUpdatedIntervalInHours int
SELECT@lastUpdatedIntervalInHours = 7
EXEC
@return_value = [ecomm].[get_cart_v1]
@id = 1,
@session_id = 2,
@field_mask = 3,
@version = N'4',
@transientCartExpiryIntervalInMin = 5,
@persistentCartExpiryIntervalInDays = 6,
@lastUpdatedIntervalInHours = @lastUpdatedIntervalInHours OUTPUT,
@customerAccountId = N'8'
SELECT@lastUpdatedIntervalInHours as N'@lastUpdatedIntervalInHours'
SELECT'Return Value' = @return_value
GO
In the above statement, the one which are highlighted are input data that I have entered .
Later in the script we can parameterize these values.
As of now save this execution statement.
Click on Add.
Click on next.
Click on finish
Say ok
Select the db which we have created and provide the login details and say ok.