Viewing 15 posts - 751 through 765 (of 2,645 total)
SSIS comes with something called CHECKPOINT. This allows a process to be restarted from the point of failure. I think you should be using this.
March 8, 2022 at 4:26 pm
I use Faker, you might need to install Python to use it
March 1, 2022 at 5:36 pm
Jonathan AC Roberts wrote:Install the table valued function in this script: https://www.sqlservercentral.com/scripts/a-daterange-table-valued-function
I'll say it again... that's a killer general purpose function with a lot of uses. Thanks for publishing that, Jonathan.
Thank...
February 28, 2022 at 4:55 pm
Install the table valued function in this script: https://www.sqlservercentral.com/scripts/a-daterange-table-valued-function
IF OBJECT_ID('[dbo].[DateRange]','IF') IS NULL BEGIN
PRINT 'CREATE FUNCTION [dbo].[DateRange]'
EXEC ('CREATE FUNCTION...
February 28, 2022 at 3:58 pm
If you have a query that is taking a long time to execute. Just paste it into SSMS and press the estimated execution plan button in the menu:
February 24, 2022 at 5:14 pm
If you have a query that is taking a long time to execute. Just paste it into SSMS and press the estimated execution plan button in the menu:
February 24, 2022 at 5:02 pm
i know this one.
the situation is little bit different.
so the query is can we use "with cte" or recursion inside following clauses like exists or cross apply or outer...
February 11, 2022 at 7:58 pm
You cannot union two WITH statements together. You also cannot have an order by within a union all unless you also use TOP to limit the rows though you could...
February 3, 2022 at 9:56 am
You can also get the query plan as text
SELECT TOP(10)
d.name ...
February 1, 2022 at 7:37 pm
When you execute dynamic SQL in a stored procedure you need to have the permissions to execute the SQL inside the dynamic SQL.
This is not true for non-dynamic SQL as...
January 28, 2022 at 2:13 pm
SELECT DISTINCT GRPID, PLNCD, XPLNE, EXTNO, EffDate, TermDate FROM History WHERE MBRNO IN (SELECT MBRNO FROM dbo.Member_MRN_lkupAllMBRNOs(@strMBRNO)) ORDER BY EffDate ASC
How large (MB/GB) is the "History" table?
How is it...
January 26, 2022 at 6:22 pm
dbo.Member_MRN_lkupAllMBRNOs
is a table valued function.
Can you provide the code?
The execution plan of the query would also be helpful.
January 24, 2022 at 7:26 pm
Open the script from the control, a new instance of VS will appear with the script in.
Then save the script (ctrl+s) and close the new instance of VS.
Then save the...
December 30, 2021 at 3:34 pm
SELECT *
FROM myTable
WHERE NOT(Sale = 'N' AND Purchase = 'N')
SELECT *
FROM myTable
WHERE (Sale <> 'N' OR Purchase <> 'N')
December 14, 2021 at 5:08 pm
;WITH CTE AS
(
SELECT t1.Code,
t1.Name,
...
December 9, 2021 at 3:50 pm
Viewing 15 posts - 751 through 765 (of 2,645 total)