Sie sind auf Seite 1von 4

DATA MIGRATION BASICS

TEST-1 || Total Marks-70 || Total Time 1 hour

Q-1. What is the difference between export all and export data loader
commands? (2 marks)
Q-2. What is the difference between hard delete and soft delete from salesforce?
Do we have hard delete option in Data loader and What is the prerequisite for it?
(4 marks)
Q-3. What is an upsert command? If we have following table for upsert what will
happen? (4 marks)
Id Name Roll_No Class
ID-1 AA 5 A
ID-2 BB 2 B
DD 1 D
ID-3 CC 3 C

Mention the result as


Id,name,rollno,class,Error
Id-1,AA,5,A,----
Id-2,----
Q-4. What error we will have for following Update command.(2 marks)
Id Name Roll_No Class
ID-1 AA 5 A
ID-2 BB 2 B
DD 1 D
ID-1 CC 3 C

Q-5. What is difference between normal migration and Bulkapi? What is the
difference between serial and parallel bulkapi? (4 marks)
Q-6. What is the full from of SOQL and SOSL? What are these and used where?
(4 marks)
Q-7.What is RDBMS? How data is stored in RDBMS? (2 marks)
Q-8. What they do and how it is used. Write syntax.(6 marks)
UPDATE
DELETE
INSERT INTO
CREATE TABLE
ALTER TABLE
DROP TABLE

Q-9. What is ASC|DESC command in sql? How they are used in query?show. (4
marks)

Q-10.what is order by and group by commands? What is the difference? Show


in query format. Show by using table below. (6 marks)

Q-11.What are sql wildcards? Any example? (2 marks)


Q-12. Write right join syntax for following tables and answer what will be the
outcome of following tables when they have right join on employee id.
Write answers in comma separated including column names.(3 marks)
Q-13. What is difference between Drop table and delete table?(2 marks)
Q-14. What are SQL functions? Give any example and how they are used?(2
marks)
Q-15. What is DBamp? (1 marks)
Q-16 .What is a linkserver? (1 marks)
Q-17 .What is a database? (1 marks)
Q-18. What is the use of stored procedure? (1 marks)
Q-19. How we connect SQL server to Salesforce? (1 marks)
Q-20. Write complete script for loading source tables to salesforce. (20 marks)
Here is the details:
1.Source database name= SourceDB
2.Source table names- Orders, Employee
You need to migrate Orders. (It has lookup to Employee table.) With all order
fields include Employee.lastname, Employee.firstname in stage file.(Logic these
will concatenate to Employee_name field in Target)
3. Source linkserver name= S_link
4. Target database name= TargetDB
5. Target table names- Orders,Employee
6.Target linkserver name= T_link
7. Target order fields: Id, Customer_id, employee_id, Order_date, Shipper_id,
Employee_name, External_id__c(all fields must be used)
8. Stage database name- Stage_DB
9.Replicate Database- Replicate_DB
Please do write stage and load scripts exactly we write for Project-1.
Let us assume we have 100000 records for migration.
Source tables:-

Das könnte Ihnen auch gefallen