Viewing 15 posts - 2,791 through 2,805 (of 8,731 total)
Brandie Tarvin (5/27/2016)
May 30, 2016 at 4:44 pm
ZZartin (5/27/2016)
Brandie Tarvin (5/27/2016)
May 27, 2016 at 12:56 pm
Ed Wagner (5/27/2016)
yb751 (5/27/2016)
djj (5/27/2016)
crookj (5/27/2016)Lash
Strike
Back
Empire
Age (of)
May 27, 2016 at 9:45 am
That's a good effort. You can do updates to several columns in a single statement.
Declare @DayInterval INT;
Set @DayInterval = Datediff(day,(select MAX(dviendtime) from PrmDeviceVisit),GetDate());
Update dbo.PrmDeviceVisit
Set DviEndTime = DATEADD(DAY,@DayInterval,DviEndTime),
...
May 27, 2016 at 8:04 am
I was just showing you the formula. You need to generate the UPDATE yourself.
May 27, 2016 at 7:03 am
fergfamster (5/26/2016)
May 26, 2016 at 2:34 pm
This might give you an idea.
DECLARE @Sample TABLE(
DviStartTime datetime,
DviEndTime datetime
);
INSERT INTO @Sample
VALUES
('2016-04-18 22:27:33.000', '2016-04-18 22:36:21.000'),
('2016-04-18 10:11:23.000', '2016-04-18 10:16:29.000'),
('2016-04-17 20:14:01.000', '2016-04-17 20:36:46.000'),
('2016-04-16...
May 26, 2016 at 2:24 pm
When you say folder name, is it the root folder or the parent folder?
Can you give several examples? Mainly to get exceptions to the rule. Don't forget to include expected...
May 26, 2016 at 2:16 pm
jasona.work (5/26/2016)
Two servers, same permissions on both. On one, the user can deploy their project no problems (with the deploy project wizard.)
On...
May 26, 2016 at 1:48 pm
crookj (5/26/2016)
Manic Star (5/26/2016)
Ed Wagner (5/26/2016)
Revenant (5/26/2016)
HappyGeek (5/26/2016)
djj (5/26/2016)
Manic Star (5/26/2016)
Grumpy DBA (5/26/2016)
djj (5/26/2016)
Ed Wagner (5/26/2016)Oil
Gas
Beans
Musical
Toot
Tootsie
Roll
Dinner
Chicken
Coward
Courage
May 26, 2016 at 12:54 pm
drew.allen (5/26/2016)
dogramone (5/26/2016)
Try running with the variable dates in dd-mon=ccyy format to help with debugging, ie '01 jan 1900
Do not EVER do this. I believe that there are only...
May 26, 2016 at 12:51 pm
Don't get me wrong. I can help you, that's why I gave simple hints on were to fix the code.
But if I just give you the answers, you won't get...
May 26, 2016 at 12:19 pm
drew.allen (5/26/2016)
May 26, 2016 at 11:54 am
Here are some errors:
- You didn't create the specified columns on your view, you just mentioned them. You need to use a join to get information from the employees...
May 26, 2016 at 11:47 am
Probably this could help. The problem is that you have a char(10) and you're looking for 8-character strings.
SELECT *
FROM dbo.Postcode
WHERE p_code LIKE N'___ ___ ';
May 26, 2016 at 6:39 am
Viewing 15 posts - 2,791 through 2,805 (of 8,731 total)