Viewing 5 posts - 1 through 5 (of 5 total)
Very Clever on the datediff stuff. Thanks for the rest as well. It appears to be what I needed.
Thanks,
Brian
September 11, 2015 at 11:54 am
That is exactly what I wanted. Thank you so much. Could I get a bit of an explanation as to why it works as it does. I've...
July 8, 2015 at 2:40 pm
--Build Employee Table.
CREATE TABLE #Employees(
[Id] [int] IDENTITY(1,1) NOT NULL,
[EmployeeID] [nvarchar](30) NULL,
[EmployeeName] [nvarchar](50) NULL,
[EmployeeSSN] [nvarchar](50) NULL)
INSERT INTO #Employees(EmployeeID, EmployeeName, EmployeeSSN) values ('01-003-0001', 'Graham, Jarvis', '***-**-4830')
INSERT INTO #Employees(EmployeeID, EmployeeName, EmployeeSSN) values...
July 8, 2015 at 1:28 pm
Here it is:
--Build Employee Table.
CREATE TABLE #Employees(
[Id] [int] IDENTITY(1,1) NOT NULL,
[EmployeeID] [nvarchar](30) NULL,
[EmployeeName] [nvarchar](50) NULL,
[EmployeeSSN] [nvarchar](50) NULL)
INSERT INTO #Employees(EmployeeID, EmployeeName, EmployeeSSN) values ('01-003-0001', 'Graham, Jarvis', '***-**-4830')
INSERT INTO #Employees(EmployeeID, EmployeeName,...
July 8, 2015 at 1:27 pm
Viewing 5 posts - 1 through 5 (of 5 total)