Viewing 15 posts - 1 through 15 (of 15 total)
Looks like you can replace the update above with this
UPDATE p SET Price = m.Price
FROM PriceTest p
INNER JOIN MainMaster m ON p.ID = m.ID AND p.User = m.User
WHERE m.User...
April 17, 2012 at 12:26 pm
This is the create table queries: CREATE TABLE [dbo].[MainMaster](
[User] [int] NOT NULL,
[ID] [int] NOT NULL,
[Price] [money] NULL,
PRIMARY KEY CLUSTERED
(
[User] ASC,
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
CREATE TABLE...
April 17, 2012 at 10:02 am
Thanks for the response, but I am trying to reference dbo.MainMaster and update dbo.PriceTest with the values from dbo.MainMaster if the user is trying to insert values from the application...
April 17, 2012 at 8:44 am
my .rdlc is pointing towards version 9. The report was created in SQL Server 2005, I don't have the rdl's in the project itself.
October 14, 2011 at 1:18 pm
I tried messing with it a little more, and I got it to stop throwing out an error now. Although on the server the report doesn't show anything. The output...
October 14, 2011 at 1:08 pm
wrong version as in referencing v8 when it is v9 ? if that's what you mean I highly doubt it, because it wouldn't compile on my local machine then in...
October 14, 2011 at 9:42 am
Yeah that doesn't seem to help either 🙂 I am beginning to think this might be something on the SQL side. I just don't understand why it would work with...
October 14, 2011 at 9:18 am
I tried that & that didn't help either. Were you using version 8 or v9/v10. Because version 9 works properly for me on my localhost but when I deploy it...
October 14, 2011 at 8:48 am
But isn't DataVisualization for Charts?
October 14, 2011 at 8:27 am
bkubicek (10/14/2011)
October 14, 2011 at 8:11 am
It gave me a subquery error again, I took out "Select Total" where I have
Select Total - (select statement)
& just ran the select statement with datediff,...
June 28, 2011 at 9:30 am
Am I Replacing the IF Statement where it says
IF @RandomCol = 'YES'
or am I relacing the @RandomCol Varaible's SET select statement?
because I tried replacing it with the...
June 28, 2011 at 8:42 am
Sample Data:
MS SQL
---------------------------------------------------------------
UserID | StartDate | EndDate | RandomColumn |
----------------------------------------------------------------
12101 2011-06-16 ...
June 28, 2011 at 8:19 am
I solved this by just adding variables & then putting IF ELSE conditions to perform the tasks. So it was something along the lines of:
DECLARE
@user-id int,
@RandomCol...
June 27, 2011 at 7:58 pm
Viewing 15 posts - 1 through 15 (of 15 total)