BULK INSERT reads huge chunks of data by default (the file is one batch) and assumes that if the sort property is not set, the order is not needed. If you specify the sort, the bulk file will be sorted and aligned with the clustered index. The rows from the file are read in order, and added to the table in the same…
SQL Server
Answered Apr 16, 2021
·
24 Views
Read answer →
The MERGE statement in SQL is a very popular clause that can handle inserts, updates, and deletes all in a single transaction without having to write separate logic for each of these. The MERGE statement tries to compare the source table with the target table based on a key field and then do some of the processing.…
SQL Server
Answered Apr 16, 2021
·
27 Views
Read answer →
For sql server declare table variable, you need to declare a table variable with the same shape as the TVF result, then use INSERT INTO not SELECT INTO, and remember to add brackets/parentheses to the end of the function name when invoking it, i.e. Foo() not just Foo: DECLARE @Table TABLE ( [Id] [int] NULL, [Number]…
SQL Server
Answered Apr 16, 2021
·
188 Views
Read answer →
From SQL Server 2008 R2 version and below the "+" (plus sign) is an operator used in a string expression that concatenates two or more character or binary strings, columns, or a combination of strings and column names into one expression or into another column. You can concatenate strings in SQL Server just by using…
Salesforce
Answered Apr 16, 2021
·
294 Views
Read answer →
Each standard and custom object in salesforce can contain both standard and custom fields as well. The fields in salesforce are like columns of a database table which can hold specific types of data. Every field has a datatype.A data type indicates what kind of information the field stores. Supports a bunch of data…
Salesforce
Answered Dec 1, 2020
·
2.2K Views
Read answer →
A Salesforce developer is responsible for the following: Visualforce basic Platform development Search solutions basics Data modeling, management, and security Developer console Apex object-oriented programming Salesforce object query language Lightning framework
Salesforce
Answered Apr 20, 2020
·
590 Views
Read answer →
trigger CreateCRonContactCreation on Contact (after insert,after update) { if(trigger.isAfter) { if(trigger.isInsert) { ContactMasterHandler ConIns = New ContactMasterHandler(); ConIns.createContactRelationshipByContact(trigger.New); } } }
Salesforce
Answered Jan 5, 2020
·
3.2K Views
Read answer →
Salesforce
Answered Nov 30, -0001
·
672 Views
Read answer →