Viewing 15 posts - 31 through 45 (of 167 total)
Because of this my main table is locking; i have to rollback explicitly if it fails.
for this SET XACT_ABORT ON; will work?
October 16, 2019 at 12:30 am
thank you, it worked
September 27, 2019 at 7:33 pm
How to rewrite as single statement with out variable?
September 27, 2019 at 7:15 pm
I tried this way
@[User::IsActive] == "0" ? "@[User::Path]+ "\\" + "Test_"+(DT_WSTR,4)YEAR(GETDATE()) + RIGHT("0" + (DT_WSTR,2)MONTH(GETDATE()), 2) + RIGHT("0" + (DT_WSTR,2)DAY( GETDATE()), 2)+ RIGHT("0" + (DT_WSTR,2)DATEPART("hh", GETDATE()), 2)+".txt"" ? "@[User::Path]+ "\\"...
September 24, 2019 at 8:12 pm
Hello David, Instead of calling from procedure, can we handle in SSIS package using script component? with out casting original columns from the table?
June 21, 2019 at 3:07 am
thank you for the reply
June 20, 2019 at 2:43 pm
TY for the reply, i am trying to select phone number and phone type from these two tables based on employee id and insert into dept table
Insert into...
April 5, 2018 at 2:36 pm
i am talking about using temp table, and by using rank function can we achieve this?
April 4, 2018 at 10:00 am
Example -
ReportID path
101 /DEV/Reports/DEV/Reports/FOlderName/ReportName1
210 /DEV/Reports/DEV/Reports/FOlderName/ReportName2
303 /DEV/Reports/DEV/Reports/FOlderName/ReportName3
404 /DEV/Reports/DEV/Reports/FOlderName/ReportName4
Like this i have total 70 reports that have incorrect path
I need to update...
September 19, 2017 at 5:17 pm
This procedure is used for asp.net front end.
In web page Based on the selection of Employee id's .. those id's should pass to this stored procedure.
In the...
August 7, 2017 at 12:12 pm
select weekdes from dbo.FYear is the query
I want this column data to be in both start and end variables?
when i execute stored procedure same data should...
August 2, 2017 at 7:43 am
Its showing error -
Parse error at line: 1, column: 28: Incorrect syntax near '='.
June 8, 2017 at 2:45 pm
How to tweak this statement - using Round
CAST((FLOOR((E.TotalAmount / COUNT(EE.ID) OVER (PARTITION BY E.ID)) * 100)) / 100 AS decimal(12,2)) AS Employee
May 5, 2017 at 6:32 am
floor will round always down so wants to modify with normal math function
for example - 1.229 will round up to 1.23 .
May 4, 2017 at 9:28 pm
table -1 - Expenses
ID total Amount (decimal(26,9),null) EmpID
123 112.19 84746788
table - 2 - EmployeeExpenses
ID EMpID TotalEmployees
123 84746788 22.47
123 89246532 22.43
123 88456788 22.43
123 89346788 22.43
123 87536788 ...
May 3, 2017 at 10:29 am
Viewing 15 posts - 31 through 45 (of 167 total)