Viewing 15 posts - 1 through 15 (of 33 total)
-- @NotificationsStatus is table type variable
UPDATE n
SET
n.Name = ns.Name,
n.EmpCode = ns.EmpCode,
n.EmailProcessingStatus =
CASE WHEN ns.EmailProcessingStatus IS NOT NULL THEN ns.EmailProcessingStatus ELSE n.EmailProcessingStatus END,
n.MobileProcessingStatus =
CASE WHEN ns.MobileProcessingStatus IS...
February 7, 2013 at 2:02 am
UPDATE tbl1
SET
column1 = CASE WHEN @Values1 = 1 THEN @Values1 ELSE column1 END,
column2 = CASE WHEN @Values2 = 1 THEN @Values2 ELSE column2 END,
column3 = CASE WHEN @Values3 =...
February 7, 2013 at 12:09 am
I need to update multiple column, so i dont think IF ELSE is good thing to implement, have to check for each column in separate statement.
February 6, 2013 at 11:54 pm
I have used CROSS APLLY, it worked fine for me. udf is having 1000+ line of codes and sp is also too much so not able to paste here and...
February 6, 2013 at 11:28 pm
Id columns i have just given for reference, in my case TVF will always return 1 row but in table may have multiple id. So i think it should...
February 5, 2013 at 1:28 am
Does CROSS APPLY will not produce duplicate result set in case employee table have duplicate id?
February 5, 2013 at 1:11 am
Does is support Day Light Saving as well ?
February 4, 2013 at 4:37 am
Yes, I know the zone of saved date. Other than this i have saved date in UTC but in this case i need to save date of local time with...
February 4, 2013 at 3:59 am
Once user start accessing application then only it lead to 100% cpu consumption.
January 28, 2013 at 9:29 pm
Yes, Because in one of my query, i am joining with 3 tables. And table 1 have the 1 million record, 2 Lakh and table3 have 10 thousands.
I am using...
January 28, 2013 at 9:27 am
I have checked by Query, And also at time when our IIS server was stop CPU usage was 0 %, if we start IIS server and user accessing application it...
January 28, 2013 at 7:22 am
it is charging few dollars, i have to take approvals from client.
January 28, 2013 at 5:29 am
I ran SQL Profiler and saw many sp_resetConnection, AuditLogin, AuditLogOut.
I have 1 doubt i saw continue Audit Login and Logout. There were not actions between login and logout.
They...
January 28, 2013 at 4:05 am
Yes i checked, .Net SqlClient Data Provider as program name was consuming most.
January 28, 2013 at 3:48 am
Viewing 15 posts - 1 through 15 (of 33 total)