I have written a PL-SQL block
DECLARE
SchemaName VARCHAR2(50) :=\'REQ_SUNIL_5750\';
userpassword VARCHAR2(50) :=\'XYZ\';
stmt VARCHAR2(5000);
BEG
You have to quote your string values properly:
stmt :='INSERT INTO ' || SchemaName ||
'.USER_CREDS VALUES ('''|| SchemaName ||''', '''|| userpassword ||''' )';
Frank's answer is great, I would add one point though.
From the perspective of performance and reuseability, your execute immediate statement should use bind variables and the insert syntax should specify the columns that correspond to the values being entered.