Viewing 15 posts - 6,766 through 6,780 (of 8,731 total)
It's great, but do you understand how does it work?
You'll be the one in charge of this for any modification, correction or improvement, so you better understand it. Feel free...
March 13, 2014 at 2:46 pm
I'm not sure on how to create the order you need, but here's an option.
Be sure to understand it and test it because it might get slow when working with...
March 13, 2014 at 2:04 pm
Do a favor to yourself and use date data types when needed. Using numeric values (or even string values) will only give you headaches.
Here's a possible solution for you (I'm...
March 13, 2014 at 12:05 pm
rodjkidd (3/13/2014)
A B A C A B
Just repeat until you...
March 13, 2014 at 11:24 am
This is certainly ugly, I might come back to improve this query.
SELECT at.Style,
STUFF((SELECT ',' + CAST( x.AmendmentID AS varchar(10))
FROM #AmendTest x
WHERE at.Style = x.Style
AND x.DT BETWEEN at.DT AND DATEADD(MI, 30,...
March 13, 2014 at 11:22 am
Could you explain the logic to obtain the expected results?
March 13, 2014 at 11:06 am
You need to ask for a complete script, not just the tables' scripts.
Every object from the original DB should be scripted in the proper order to avoid the problems that...
March 12, 2014 at 6:36 pm
dwain.c (3/12/2014)
Luis Cazares (3/12/2014)
The Dixie Flatline (3/12/2014)
Thanks in advance.
P.S. Please don't ask for DDL and sample data as I've...
March 12, 2014 at 6:30 pm
I can give you the script to create a "boolean" data type. However, it might not be the expected definition and you must ask for it with the person that...
March 12, 2014 at 6:17 pm
You seem to have a problem with a user defined datatype (dbo.boolean). You need to create it before running the script or you need to change the script to use...
March 12, 2014 at 5:54 pm
The Dixie Flatline (3/12/2014)
Thanks in advance.
P.S. Please don't ask for DDL and sample data as I've already said that...
March 12, 2014 at 4:18 pm
A replace can work for you.
SELECT REPLACE( CONVERT(VARCHAR(24),@deadline, 100), ' ', ' 0')
March 12, 2014 at 1:40 pm
Sean Lange (3/12/2014)
That is pretty slick Luis.
Thanks Sean, it came after my third cup of coffee, I might need more now. 😀
March 12, 2014 at 12:43 pm
I might be trying to kill a fly with a cannon but this could be an option. It could be turned into an inLine Table-valued Function if needed to avoid...
March 12, 2014 at 12:37 pm
jownby (3/12/2014)
DavidL (3/12/2014)
It would be an interesting scenario, sort like paying a premium to M$ to NOT have windows installed:-P
Is that like when Porsche wants to sell you...
March 12, 2014 at 9:37 am
Viewing 15 posts - 6,766 through 6,780 (of 8,731 total)