Viewing 15 posts - 53,236 through 53,250 (of 59,068 total)
I agree... and, if folks are going to post questions that have no backwards compatability, they should identify which version of SQL Server.
December 30, 2007 at 10:15 am
DECLARE @AsOfBeginDate datetime
DECLARE @ParmAsOfDate datetime
set @ParmAsOfDate='09/01/2007'
SET @AsOfBeginDate = dbo.uf_RptGetDayBeginDate(@ParmAsOfDate)--@ParmAsOfDate)
Print @AsOfBeginDate
The item hilighted in red is incorrect. It must be a SELECT...
DECLARE @AsOfBeginDate datetime
DECLARE @ParmAsOfDate datetime
set @ParmAsOfDate='09/01/2007'
SET @AsOfBeginDate = (SELECT...
December 30, 2007 at 10:08 am
Ok... that's for the "If I give the dates directly The stored procedure is giving the result is good." part you were talking about... but you also said "If I...
December 29, 2007 at 8:09 pm
Can you show the code that you're calling the sproc with, please?
December 29, 2007 at 7:40 pm
I believe you're missing the sample in your post...
December 29, 2007 at 6:13 pm
What is v_un, v_1, v_2, etc, etc? They're views aren't they? You should probably post at least 1 of those and some easy to load data... see...
December 29, 2007 at 5:56 pm
Heh... thought you said you "Frankly, I don't want to waste time working on something that's a bad idea or trying to prove which one is better"
December 29, 2007 at 5:48 pm
Nah... they've got views for that stuff...
SELECT *
FROM Information_Schema.Columns
WHERE Data_Type = 'UniqueIdentifier'
December 29, 2007 at 11:52 am
james.simonsen (12/18/2007)
Thanks! Now how do I do that on a regular calculator other than press the keys 36 times?
Ummm... Windows' calculator has a very nice scientific mode. And Jason...
December 29, 2007 at 11:02 am
Then, consider this...
The only problem is that I've not figured out a good set based method for future dating things like deliveries given a ship date and a number of...
December 29, 2007 at 10:54 am
It appears that this article was written quite some time ago... but, boy, is it sweet. I haven't tried it yet but Dinesh sure did make it easy.
You can...
December 29, 2007 at 9:20 am
By the way... I call these While Loops that do deletes, "Delete Crawlers" because they "crawl" through the rows to be deleted, mostly unnoticed. Here's the basis of how...
December 29, 2007 at 9:10 am
First, the database will take a while to "recover"... it'll take less time because you rebooted it as it won't let anyone in until it's done... so no blocking of...
December 29, 2007 at 9:07 am
Oh bugger... I'm sorry. I'm the same way... I do like to have "Jeff" spelled correctly.
Heh... lately, I've been using your name (or a mispelled version of it :hehe:...
December 29, 2007 at 9:00 am
Both are huge, very broad subjects....
There are a large number of articles on debugging SQL... Google for "HOW TO DEBUG SQL" and you'll get some great articles including how to...
December 29, 2007 at 8:57 am
Viewing 15 posts - 53,236 through 53,250 (of 59,068 total)