I suggest using regular SQL jobs, using the Ola Hallengren solutions for your backups. Ola hallengren has a full (free) maintenance solution that you can download and deploy on your server. It's used by a lot of Database Administrators and has been around for years. All you have to do is deploy the scripts and add…
SQL Server
Answered Apr 21, 2021
·
9 Views
Read answer →
No, you cannot commit and rollback data in the SQL server. Committed transactions modify the contents of the database tables first in the transaction log, then in the data files. Unless triggers or other techniques are explicitly set up upfront, there is no way to recover the values stored in the database before the…
SQL Server
Answered Apr 16, 2021
·
11 Views
Read answer →
MINUS is a name for the "set difference" operator that is used only by Oracle. SQL Server uses the (standard) name, EXCEPT, for this operator. Replacing the MINUS with EXCEPT will solve the issue: SELECT Customer_Name FROM Customer WHERE Customer_No IN (SELECT Customer_No FROM Customer EXCEPT SELECT Customer_No FROM…
SQL Server
Answered Apr 16, 2021
·
16 Views
Read answer →
Other than table diff and PowerShell mentioned in the previous answers, you can also use SQL with the UNION ALL statement to find the records that don’t match in 2 identical tables:SELECT MIN(TableName) AS TableName ,ID ,NAME ,lastname ,Address ,City FROM ( SELECT 'Table A' AS TableName ,Customers.id ,Customers.NAME…
SQL Server
Answered Apr 16, 2021
·
14 Views
Read answer →
Thanks for the assistance on SQL server kill spid, Although the kill/rollback wasn't showing to be progressing it looks as though it was and after 45 hours the process was completed and the space returned to my TempDb Thanks again!
SQL Server
Answered Apr 16, 2021
·
11 Views
Read answer →
Does it count as using a local variable if the value originated from a parameter? No, SQL Server will still see the reference as a parameter, which may be sniffed."Parameter sniffing" refers to a process whereby SQL Server's execution environment "sniffs" the current parameter values during compilation or…
SQL Server
Answered Apr 16, 2021
·
29 Views
Read answer →
Salesforce DX is a set of tools and features that improve the efficiency of development during the application lifecycle. It addresses common challenges faced by developers, allowing them to manage the source of truth and lifecycle for the org. My two main takeaways from what I saw were: Scratch Orgs: There will now…
Salesforce
Answered Apr 16, 2021
·
260 Views
Read answer →
You can try below after making the formula return type as "Text",'Week' + Text(CEILING((( BirthDate- DATE(YEAR(BirthDate), 1, 1) + 1) + MOD(DATE(YEAR(BirthDate), 1, 1) - DATE(1900, 1, 7), 7)) / 7))
Salesforce
Answered Apr 16, 2021
·
162 Views
Read answer →
Unfortunately nobody knows, there is nothing like a directive to ensure that existing SOAP also gets ported to REST. It's going to be hit or miss.
Salesforce
Answered Apr 16, 2021
·
96 Views
Read answer →
There are differences in Visualforce rendering when using renderAs and ContentType:- when we set renderAs = PDF, it triggers Visualforce engine to generate PDF from page's resultant HTML. In plain words, this triggers conversion of HTML to PDF data (binary) when we set PDF contentType = application/pdf, then it only…
Data Science
Answered Apr 16, 2021
·
73 Views
Read answer →
I think this speaks somewhat to Apex assuming so much from Java. Try the same thing with a Java compile if you want to solve constructor call must be the first statement in a constructor: public class HelloDog { public static void main(String[] args) { Dog myDog = new Dog(); System.out.print(myDog); } } class Dog{…
Salesforce
Answered Apr 10, 2021
·
25 Views
Read answer →
The right alternative is choice B (SELECT). SELECT statement is utilized to extricate the information from the data set and the outcome from the assertion is put away as a table. Here is the grammar to utilize Select statement in SQL: SELECT column_list FROM TableName;If you wish to learn SQL, then register for this…
SQL Server
Answered Mar 3, 2021
·
287 Views
Read answer →