DBA Data[Home] [Help]

APPS.GR_EIN_SAFETY_PKG SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 3

PROCEDURE Insert_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_european_index_number IN VARCHAR2,
				  p_safety_phrase_code IN VARCHAR2,
				  p_created_by IN NUMBER,
				  p_creation_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_update_login IN NUMBER,
				  x_rowid OUT NOCOPY VARCHAR2,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
	IS

/*   Alpha Variables */

L_RETURN_STATUS VARCHAR2(1) := 'S';
Line: 42

   SAVEPOINT Insert_Row;
Line: 73

   INSERT INTO gr_ein_safety
  	     (european_index_number,
  	      safety_phrase_code,
	      created_by,
	      creation_date,
	      last_updated_by,
	      last_update_date,
	      last_update_login)
          VALUES
	     (p_european_index_number,
	      p_safety_phrase_code,
              p_created_by,
              p_creation_date,
              p_last_updated_by,
              p_last_update_date,
              p_last_update_login);
Line: 90

/*   Now get the row id of the inserted record */

   Check_Primary_Key
   		 (p_european_index_number,
   		  p_safety_phrase_code,
		  'F',
		  l_rowid,
		  l_key_exists);
Line: 114

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 129

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 144

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 148

                           'GR_NO_RECORD_INSERTED');
Line: 160

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 175

END Insert_Row;
Line: 177

PROCEDURE Update_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_european_index_number IN VARCHAR2,
				  p_safety_phrase_code IN VARCHAR2,
				  p_created_by IN NUMBER,
				  p_creation_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_update_login IN NUMBER,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
 IS

/*   Alpha Variables */

L_RETURN_STATUS	  VARCHAR2(1) := 'S';
Line: 211

   SAVEPOINT Update_Row;
Line: 228

       UPDATE	gr_ein_safety
	  SET	european_index_number	= p_european_index_number,
	        safety_phrase_code = p_safety_phrase_code,
		created_by = p_created_by,
		creation_date = p_creation_date,
		last_updated_by	= p_last_updated_by,
		last_update_date = p_last_update_date,
		last_update_login = p_last_update_login
	 WHERE	rowid = p_rowid;
Line: 252

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 267

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 271

                           'GR_NO_RECORD_INSERTED');
Line: 282

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 297

END Update_Row;
Line: 307

				  p_last_updated_by IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_update_login IN NUMBER,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
 IS

/*  Alpha Variables */

L_RETURN_STATUS	  VARCHAR2(1) := 'S';
Line: 334

   SELECT	last_update_date
   FROM		gr_ein_safety
   WHERE	rowid = p_rowid
   FOR UPDATE NOWAIT;
Line: 358

   IF LockEinRcd.last_update_date <> p_last_update_date THEN
     RAISE RECORD_CHANGED_ERROR;
Line: 418

PROCEDURE Delete_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_european_index_number IN VARCHAR2,
				  p_safety_phrase_code IN VARCHAR2,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
 IS
/*   Alpha Variables */

L_RETURN_STATUS	  VARCHAR2(1) := 'S';
Line: 447

   SAVEPOINT Delete_Row;
Line: 466

   DELETE FROM gr_ein_safety
   WHERE  	   rowid = p_rowid;
Line: 478

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 488

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 503

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 518

END Delete_Row;
Line: 520

PROCEDURE Delete_Rows
	             (p_commit IN VARCHAR2,
 		      p_called_by_form IN VARCHAR2,
		      p_european_index_number IN VARCHAR2,
		      x_return_status OUT NOCOPY VARCHAR2,
		      x_oracle_error OUT NOCOPY NUMBER,
		      x_msg_data OUT NOCOPY VARCHAR2)
  IS

/*   Alpha Variables */

L_RETURN_STATUS	  VARCHAR2(1) := 'S';
Line: 545

   SAVEPOINT Delete_Rows;
Line: 551

   DELETE FROM gr_ein_safety
   WHERE       european_index_number = p_european_index_number;
Line: 561

      ROLLBACK TO SAVEPOINT Delete_Rows;
Line: 576

END Delete_Rows;
Line: 602

   SELECT 	safety_phrase_code
   FROM		gr_safety_phrases_b
   WHERE	safety_phrase_code = p_safety_phrase_code;
Line: 737

   SELECT eis.rowid
   FROM	  gr_ein_safety eis
   WHERE  eis.european_index_number = p_european_index_number
   AND    eis.safety_phrase_code = p_safety_phrase_code;