Viewing 15 posts - 31 through 45 (of 162 total)
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
I am getting parse error -
Incorrect syntax near ')'.
and also the columns SELECT E.col1, E.Col2,
April 10, 2017 at 10:04 am
It got worked, TY
Quick question - Do I need to keep this If condtion inside the procedure or do I need to keep it after calling this procedure...
April 6, 2017 at 12:17 pm
I got t But ho I can assign entire Insert script to @Count variable ? so it returns as out.
Alter proceudre dbo.validate
@Count...
April 6, 2017 at 11:43 am
dbo.Sudent Schema
ID
EMployeeCd
EmpNum
Insert into dbo.Student values
(1, 1245678334,001)
(2,678345678,002)
dboEmployee Scehma
ID
EMployeeCd
EmpNum
Insert into dbo.Employee values
(1, NULL,NULL)
(2,NULL,NULL)
based...
April 5, 2017 at 2:00 pm
Viewing 15 posts - 31 through 45 (of 162 total)