Viewing 15 posts - 50,281 through 50,295 (of 59,102 total)
Nice... thanks for that tip!
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2008 at 6:29 am
Even though we all, including the OP, recognize that this is a terrible requirement, has anyone actually come up with a solution that shifts the data left without resorting it?...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2008 at 6:28 am
Those are great questions, Phil... Now, all I have to do is find someone that knows how to get the current system date and time without using a GUI! ...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2008 at 6:20 am
Outstanding! Good luck with your tests! It's a worthy cause! I'd be interested in the results of your tests. I don't know how to write CLR's,...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2008 at 6:09 am
GilaMonster (5/27/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2008 at 6:05 am
Sangeeta Satish Jadhav (5/27/2008)
--Step 1:create table to insert data from file
Create Table TmpTbl
(Column names
)
--Step 1: Build Valid BULK INSERT Statement
Set @FilePath = 'c:\test.txt'
EXEC Master..xp_fileexist @FilePath, @File_Exists OUT
IF...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2008 at 6:02 am
pduplessis (5/27/2008)
Imagine selling csv burgers at the next microsoft launch....
c - chips
s - soda
v - viennas
Maybe we have a hit here that will feed a lot of developers and make...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2008 at 5:59 am
No SSMS in 2k... no reporting service in 2k. Could be, it's a simple text report created by a scheduled job... makes a "great" presentation layer for those that...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 11:04 pm
Francis... you already have the hardpart done... if the Quarter = 1 then show the column, otherwise show a blank. Simple case statement should do it.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 10:15 pm
... providing that there is a presentation layer... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 9:10 pm
Heh... "I sense a disturbance in the force..." 😛
Barry is absolutely correct... he and I both just went through a couple of such posts just this weekend alone... user posts...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 8:49 pm
By the way... the code in the "too small" code window looks like this...
[font="Courier New"]select v.* from #mytable v, ( select min(id) as firstidofstagnation from #mytable v, ( select min(id)...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 7:22 pm
This will do it... As always, details are in the comments...
--===== Supress the auto-display of rowcounts for appearance
SET NOCOUNT ON
--===== Create two test tables (table variables, in this...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 7:08 pm
p.s. That will work only up to 23:59:59... if you need to exceed 24 hours, post back... there's a way...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 6:11 pm
latingntlman (5/26/2008)
I apologize. I believe it represents time in Seconds.
I don't know too much about SSRS, yet... but here's how to do it in T-SQL...
SELECT CONVERT(CHAR(8),DATEADD(ss,4818,0),108)
Replace the 4818...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 6:07 pm
Viewing 15 posts - 50,281 through 50,295 (of 59,102 total)