Viewing 15 posts - 18,091 through 18,105 (of 18,923 total)
Might I suggest you read the whole post, or at least the first question before posting ??
From dw_dsa.dbo.e3bdjr_a4bidm e3a4
Left Join dw_dsa.dbo.JobCostDimLookupTbl jcdl on e3a4.Job = jcdl.JOB
Left Join dw_sd.dbo.Job j on...
April 19, 2005 at 11:22 am
I don't wanna hurt anyone's feelings, but the obvious answer seems to lie in that column that you change in the final join. I think you'll have to look...
April 19, 2005 at 10:04 am
Why r u changing the last join in the 2nd query?
R u looking for bad data?
April 19, 2005 at 9:37 am
I've seen something similar, but it's something you have to do yourself... try this :
create Proc A;1 @Param as int
as
set nocount on
select @Param
set nocount off
GO
create Proc A;2 @Param as...
April 19, 2005 at 9:20 am
We should post this in the faq in the section : What do we mean by DDL some sample data??
April 19, 2005 at 8:26 am
As I was saying you are getting records only for the 16th NOT the 17th.
You can change the query to this :
where oao_date2 >= '" + dayA + "'...
April 19, 2005 at 8:11 am
Did you try runnning the query?
What results did you get?
What results did you want to get?
April 19, 2005 at 7:50 am
SysDepends is notoriously unreliable. The message tells you exactly what happens : a line cannot be added because the proc is not created yet (even if it is being...
April 19, 2005 at 7:45 am
Hence the vartype dateTIME. In sql server, the time always comes with the date. The only thing you can do is to set the time to midnight. ...
April 19, 2005 at 7:42 am
Select id_col, col1, col2 from dbo.YourTable where date_col between '" + varDateStart + "' and '" + varDateEnd + "'"
It would be a good idea to use a stored proc...
April 19, 2005 at 7:31 am
Forgot to mention that... I gues it's a given to me by now...
April 19, 2005 at 6:58 am
Are you inserting like this??
Insert into dbo.MyTable (Col, Col2, Col3) exec dbo.MySP
..cause if you're not specifying the columns of the insert you can have a lot of problems.
April 19, 2005 at 6:36 am
I certainly hope you have more than that left in you
.
April 19, 2005 at 6:23 am
BTW I've already created a report that looks a lot like a calendar (only 1 week at the time). I too will resuggest that you use dynamic sql only...
April 18, 2005 at 12:44 pm
Viewing 15 posts - 18,091 through 18,105 (of 18,923 total)