Viewing 15 posts - 16 through 30 (of 40 total)
I'm wondering if both your tables might have the same column name DLOAN or TLOAN. If so, you need to fully qualify them -- TableName.ColumnName.
Eli
July 8, 2009 at 6:36 am
You can use the following query:
SELECT syscolumns.name, syscomments.text
FROM sysobjects, syscomments, syscolumns
...
July 8, 2009 at 6:27 am
Yes - the dataset is the query. However the actual SQL statement can either be placed directly in Business Intelligence Development Studio under the data tab or it can be...
July 7, 2009 at 6:54 am
There are plenty of tools out there that can compare differences in DB Schemas. They even have the ability to create scripts to quickly/easily sync them. I personally use Red...
July 7, 2009 at 6:19 am
Why don't you state that:
IF UPDATE(someColumn)
BEGIN
--code
END
This will only process if your desired column gets updated.
Eli
July 2, 2009 at 12:26 pm
Sure - no problem. I think that the reason you may have been receiving 00 is because you had lower case mm which relates to minutes instead of months. If...
July 1, 2009 at 1:55 pm
Try this:
=format(Fields!YourDate.Value, "MM - dd - yy")
Eli
July 1, 2009 at 9:23 am
What is the error that you are receiving?
June 30, 2009 at 11:21 am
You can bulk insert into a temporary table and then select the columns you desire. Here is an example:
DECLARE @TempTable TABLE
(
Column1 INT,
Column2 VARCHAR(10),
Column2 VARCHAR(10)
)
BULK INSERT @TempTable FROM 'Filepath'
SELECT Column1, Column2
FROM...
June 30, 2009 at 11:01 am
lmu92 (6/29/2009)... Would you mind showing how you'd do that? (just being curious)
I definitely wouldn't have come up with Jeff's solution :-D. All I was saying is that I wasn't...
June 30, 2009 at 6:09 am
I know that a CASE statement treats each row separately -- that's part of the problem. Once the collumns are ordered, using the first given examples you will end up...
June 29, 2009 at 2:28 pm
Not sure if this helps, but a possible work around can be to create another table instead of using text boxes. You can modify the border designs etc. on the...
June 29, 2009 at 9:17 am
Something like this?
CREATE TRIGGER TriggerName
AFTER UPDATE
AS
BEGIN
IF UPDATE (ColumnName)
BEGIN
DECLARE @cuartoid int
SELECT @cuartoid = ColumnName from INSERTED
EXEC ACTUPRECUARTO @cuartoid
END
END
Eli
June 29, 2009 at 8:50 am
Unless c1, c2, c3.. are intrinsically meaningless and are just data placeholders, then the case statement will just help the first record. Subsequent records will have to follow the determined...
June 29, 2009 at 7:53 am
Each row is one record. Therefore:
a) If you sort the rows under c1, it is impossible to also sort c2 and c3. This is even if you include all three...
June 29, 2009 at 7:39 am
Viewing 15 posts - 16 through 30 (of 40 total)