Viewing 15 posts - 3,046 through 3,060 (of 15,381 total)
Why do need to make a new copy of the same table every single day? It would seem to be a lot less headache (and clutter) to add a column...
April 9, 2015 at 12:37 pm
2sbhagat (4/9/2015)
?Using join on customer and...
April 9, 2015 at 12:35 pm
Luis Cazares (4/9/2015)
I finally found Dwain's secret.
It won't display here. Says the image contains errors. :w00t:
April 9, 2015 at 12:33 pm
Somebody with more SSIS knowledge than me (which isn't hard to accomplish) want to lend a hand?
http://www.sqlservercentral.com/Forums/Topic1675814-392-1.aspx
April 9, 2015 at 9:53 am
This sounds like a job for SSIS and I can barely spell it. Let me call in some reinforcements.
April 9, 2015 at 9:51 am
Marcus Farrugia (4/9/2015)
April 9, 2015 at 9:33 am
This scream of poor design to me. How can you not know what columns are in your table? If you go down this path I don't think there is any...
April 9, 2015 at 9:11 am
Zohaib Anwar (4/9/2015)
I am trying to do it with CTE as mentioned above but not sure why it is not working. I haven't join CTE any where does that work...
April 9, 2015 at 9:08 am
Zohaib Anwar (4/9/2015)
Can I do it following way ??
WITH ACOALERTCTE
AS (
SELECT a.lastprdate
,a.lastprtime
FROM acoalert a
WHERE a.coalertid = 3000
)
SELECT TOP 1000 f.foordno AS "Order #"
,f.foprogno AS "Program #"
,f.alertmssg...
April 9, 2015 at 8:42 am
Zohaib Anwar (4/9/2015)
What I’m struggling with is a compare on the alertmsgdt (Date field) + alertmsgtm...
April 9, 2015 at 8:23 am
You might want to test your script before you post them.
ProjectAssignment table inserts.
Msg 213, Level 16, State 1, Line 5
Column name or number of supplied values does not match table...
April 9, 2015 at 7:36 am
Just a suggestion. I would avoid using ambiguous parameter names. @p1, @p2 are meaningless. Give them some context so that maintenance on this down the road is a lot simpler....
April 9, 2015 at 7:29 am
Lowell (4/8/2015)
the two values you posted will convert to datetime2, but not date or datetime; maybe that's it?
--select convert(date,'04/01/200') -- error
select convert(datetime2,'04/01/0200')
--select convert(date,'200-04-01') -- error
select convert(datetime2,'0200-04-01')
They both...
April 8, 2015 at 12:06 pm
I suspect this is because the ISDATE function has been around since before we had the date datatype and the values you posted here are not valid as datetime. Once...
April 8, 2015 at 9:45 am
MadAdmin (4/7/2015)
Sean Lange (4/7/2015)
MadAdmin (4/7/2015)
It is possible to read the same row twice with read committed, once before a change, then after the change.
All isolation...
April 7, 2015 at 1:41 pm
Viewing 15 posts - 3,046 through 3,060 (of 15,381 total)