Viewing 15 posts - 5,356 through 5,370 (of 8,731 total)
This should do the trick.
WITH cteMP AS(
SELECT MachineFk,
IsValid,
PartType,
...
January 7, 2015 at 12:18 pm
SomewhereSomehow (1/7/2015)
Investigated some detailes here:
Note that this is a 3 years old thread.
The information might be useful if someone arrives here with the same problem.
January 7, 2015 at 10:56 am
UPDATES will always generate locks (and any other DDL and DML statement). You might have been concerned about blocking instead of locking.
I'm not an expert on this subject, but I...
January 7, 2015 at 8:37 am
dwain.c (1/6/2015)
Lynn Pettis (1/6/2015)
... Mark one off, 52 days on the calendar to go. 52 days on the calendar to go, 52 days to go, ...
I'm going to miss...
January 6, 2015 at 7:21 pm
Polymorphist (1/6/2015)
I need quotes in my expression. Everything i'm reading out...
January 6, 2015 at 7:19 pm
You need to create validations for your data.
CREATE TABLE cDatesTest(
Record_Created varchar(30));
INSERT cDatesTest VALUES
('21 Dec 2014 00:16:15'),
('25 Oct 2014 00:16:18'),
('30 Dec 2014 00:16:53'),
('90000'),
('23 Oct 2013 00:16:27')
SELECT Datediff(dd,Clean.Record_Created,getdate())...
January 6, 2015 at 12:09 pm
If you want to prevent that people read certain rows from a table, you can remove access from that table, create a view with the correct filters and give permissions...
January 6, 2015 at 11:55 am
sharonsql2013 (1/6/2015)
Its bad data... No I don't have access to changing datatypes
And the answers for the first 2 questions?
January 6, 2015 at 11:34 am
What's the problem? Could you post sample data? Could you change the column to be a date/time data type?
January 6, 2015 at 11:24 am
Phil Parkin (1/3/2015)
Eirikur Eiriksson (1/3/2015)
Luis Cazares (1/3/2015)
DECLARE @date date = '20140927'
Be careful with the implicit conversion as the results will be depending on the system settings, no guarantee that it...
January 5, 2015 at 4:23 pm
Yes and no.
Memory for transformations comes from the SSIS server, but you'll use some resources from the other servers to read and write. If you have complex queries, that would...
January 5, 2015 at 3:12 pm
v4vaas 19815 (1/5/2015)
January 5, 2015 at 2:47 pm
I'm not sure which data type you're using. Here's an example with 3 possible types.
Please, store your dates as dates and avoid using strings or numbers to store dates.
DECLARE @date...
January 3, 2015 at 1:12 am
No, you can't use two result sets from a single procedure to insert data into a table.
January 2, 2015 at 11:28 pm
Thanks to all of you.
I just re-read all of the posts and Jack's comment puzzles me. I'll try to find out and if I do, I'll come back.
This table is...
January 2, 2015 at 6:08 pm
Viewing 15 posts - 5,356 through 5,370 (of 8,731 total)