Viewing 15 posts - 76 through 90 (of 136 total)
Hi guys, what i'm i doing wrong its telling me invalid object name dbo.tbl_Radio
This is my code:
declare @BeginDate datetime, @EndDate datetime, @Station nvarchar(4), @BeginTime nvarchar(8), @EndTime nvarchar(8),
@Scheduled int, @Duration int,...
February 21, 2011 at 6:57 am
Perfect. Cold Coffee, you're the man, thanks so much for your help. Thanks Jeff also for your help, please how can i get an article or something that explains this...
February 19, 2011 at 1:19 am
Thanks so much Cold Coffee, sorry that my disturbance is too much, the '>' actually worked when i tested with one single date, i.e making @BeginDate and @EndDate the same....
February 18, 2011 at 5:57 am
Hi Jeff, Thanks, Actually i meant to say i'm also working on it, and expecting what u will also come out with. Thanks so much Cold Coffee, I tried your...
February 18, 2011 at 1:56 am
Thanks Jeff, I'll be expecting.
February 17, 2011 at 7:01 am
Thanks Guys, I ran this query and it worked very fine:
declare @BeginDate datetime, @EndDate datetime, @Station nvarchar(4), @BeginTime nvarchar(8), @EndTime nvarchar(8),
@Scheduled int, @Duration int
set @BeginDate = '2 jun 2010'
set @EndDate...
February 17, 2011 at 3:17 am
Thanks Guys, I'm working on it.
February 17, 2011 at 1:58 am
Ok, this is some sample data:
CREATE TABLE [dbo].[tbl_Radio](
[AdDate] [datetime] NULL,
[AdTime] [nvarchar](8) NULL CONSTRAINT [DF_tbl_Radio_1_Upper_Time] DEFAULT (N'19000101 00:00:00'),
[Duration] [float] NULL,
[FK_BrandId] [nvarchar](4) NULL,
[FK_BrandADId] [nvarchar](2) NULL,
[FK_StationId] [nvarchar](5) NULL,
[FK_ProductId] [nvarchar](6) NULL
)
Insert into tbl_Radio(AdDate,...
February 16, 2011 at 9:02 am
I tried something like this:
SELECT AdDate, COUNT(Duration) AS [Number Of Spots], @Scheduled AS ScheduledSpots, @BeginTime + '-' + @EndTime AS ScheduledTime,
(Select AdTime as "CapturedTime()" from...
February 16, 2011 at 3:14 am
Thanks so much, i already googled it, and i'll get back to you on my findings
Timotech
February 15, 2011 at 12:41 pm
Thanks for your reply, how do i use the FOR PATH XML?
Thanks
February 15, 2011 at 6:21 am
Hi guys, thanks for all your help, i met this guy called Nate, who provided a solution to the problem.
CREATE TABLE #tbl_radio (
AdDate CHAR(12)
, AdTime CHAR(8)
, fk_StationId CHAR(4)
, Duration TINYINT
)
INSERT...
January 31, 2011 at 2:52 pm
Thanks so much Nate, sorry i'm replying so late, thanks for your solution, it really did the trick. You're blessed.
Thanks
I'll try some experiments on it, and i'll get back to...
January 31, 2011 at 2:03 pm
Viewing 15 posts - 76 through 90 (of 136 total)