Viewing 15 posts - 50,911 through 50,925 (of 59,091 total)
This is what I mean...
(No character based date conversions) + (No concatenation) = Very high speed short code.
--===== Here are the two parameters you wanted
DECLARE @DateStart DATETIME
DECLARE @DateEnd ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 7:00 pm
Ah, ok... it get it.
Still need to know though, what do you want for column names? I'm also pretty sure you'll need the row number... I guess I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:44 pm
Heh... that's funny... hadn't thought of it that way, AnirBan. 😀
I actually have an article coming out in the very near future as to "how and why" Tally tables work...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:40 pm
Perfect. Thanks for the feedback.
Adrian... nice job!
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:35 pm
Yes...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:32 pm
Lisa... Thanks for the feedback a couple of posts back. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:30 pm
SQL ORACLE (4/29/2008)
You cannot delete duplicates directly from a table unless you would like to delete rows, which are duplicated.
Any bets? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:20 pm
I think this one taught a bunch of people different things... 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:17 pm
IT salaries are going down for some as Steve mentioned... and for the reasons he mentioned. I'd like to remind all of you managers out there, you get what...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:16 pm
Thanks for the feedback... like Gus said, though... leap years can wreak a bit of havoc if they're important.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:10 pm
hb21l6 (4/29/2008)
this is the solution i came up with in the end, some borrorwed some new.
SELECT * tbl_locations
WHERE CompanyName = 'someCompanyName'
ORDER BY CONVERT(int, REPLACE(CONVERT(nvarchar, SUBSTRING(IP,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 6:04 pm
Would you rather have a slightly more complicated database maintenance program or an impossible security situation? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 5:48 pm
Thanks for the plug, Gus... the article may be found at the following URL...
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/
... and Gus is right... it's nasty fast.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 5:45 pm
Can't do a whole lot for you if you don't post the "simple structure" of the data you're talking about... please click on, read, and provide the information from the...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 9:04 am
In the meantime, please try to figure out what dateformat you'd like for startdate and enddate... I recommend not using one at all.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 29, 2008 at 8:58 am
Viewing 15 posts - 50,911 through 50,925 (of 59,091 total)