What is the difference between Dataset.clone() and Dataset.copy()?

Editorial / Best Answer

parii  

  • Member Since Dec-2007 | Dec 4th, 2007


Dataset.clone():  Copies the structure of the dataset, including all schemas, relations, and constraints. Does not copy any data.

Dataset.copy():  Copies both the structure and data.

Showing Answers 1 - 21 of 21 Answers

sejal patel

  • Nov 20th, 2007
 

Clone : Copy only structure
Copy : Copy Structure & Data Both

Dharmendra

  • Nov 26th, 2007
 

Using Dataset.clone() creates new instance of the same object.
Using Dataset.copy() copies content of data to another object wihtout creating new instance.

parii

  • Dec 4th, 2007
 

Dataset.clone():  Copies the structure of the dataset, including all schemas, relations, and constraints. Does not copy any data.

Dataset.copy():  Copies both the structure and data.

ishaahuja

  • Nov 22nd, 2008
 

Dataset.clone() copies the structure of the dataset including all data table schemas,relations and constraints. and Dataset.copy() copies the structure with data of the Dataset.


Isha Ahuja

article

  • Feb 10th, 2010
 

Dataset.clone() method copies the structure of the DataSet, including all datatable schemas, relations.constraints. But it does not copy any data.

Dataset.copy() Copies both the structure and data

Thank's
Pradhan Prasanta Kumar

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions