Viewing 15 posts - 2,416 through 2,430 (of 4,820 total)
DECLARE @sql AS NVARCHAR(1000)
SET @sql...
July 10, 2017 at 1:43 pm
I'm not sure what you mean by "strip line". Also, the word "variance" isn't defined in your post, so I have to guess as to what you're referring to, as...
July 10, 2017 at 1:36 pm
July 10, 2017 at 1:31 pm
Also, I don't know for sure exactly what needs to be pivoted. Just joining the pivot query to the other tables may not work quite the way you want, and...
July 10, 2017 at 12:25 pm
When I do the alias, I need to add ON, such as...
July 10, 2017 at 12:23 pm
If you're going to perform this function on a regular basis, then you need to have an initial run that will likely be different than the ongoing runs. As an...
July 10, 2017 at 12:21 pm
Hi sgmunson,
the Case statement will not accept the code, I get
unless I'm...
July 10, 2017 at 12:10 pm
July 10, 2017 at 10:52 am
Does mySql have an ODBC driver? If so, you could create a "Linked Server" for when you want to access the data directly from SQL Server. Once you have that...
July 10, 2017 at 8:43 am
Probability is rather dependent on how you choose to perceive it. On small data samples, the likelihood of that probability being accurate is rather low. You usually need to measure...
July 10, 2017 at 8:33 am
CONVERT the date field to varchar() for display purposes as part of the query.
July 10, 2017 at 7:47 am
July 10, 2017 at 6:55 am
If you are going to have a stored procedure return multiple values, why on earth go to the trouble of using output parameters when a single row returned as a...
July 10, 2017 at 5:49 am
July 6, 2017 at 2:25 pm
Here you go:CREATE TABLE dbo.TimeTable (
WorkDate date,
EmpID int,
EmployeeName Varchar(20),
Code Varchar(20),
Starttime time,
Endtime time
);
INSERT INTO TimeTable (WorkDate, EmpID, EmployeeName, Code, Starttime, Endtime)
VALUES ('6/19/2017',...
July 6, 2017 at 2:19 pm
Viewing 15 posts - 2,416 through 2,430 (of 4,820 total)