Viewing 15 posts - 50,281 through 50,295 (of 59,099 total)
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
balamurugan.ganesan (5/26/2008)
I need to load a csv file in to SQL 2005 which has comma within the data. How to load this I am fed up trying this:angry:
Some help on...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 5:49 pm
Mike Levan (5/26/2008)
Sorry I confused you with table names.Actually I am trying to insert,update into Emp table from the Old Emp.
I want this done with single tsql query.
It cannot be...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 5:44 pm
It's much simpler to add a clustered index... doesn't have to be unique, you know? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
May 26, 2008 at 5:37 pm
Viewing 15 posts - 50,281 through 50,295 (of 59,099 total)