Viewing 15 posts - 616 through 630 (of 1,124 total)
Moreover, to find the necessary indexes, its required to know what type of queries will be executed against the table.
And also, here is the code that will provide you the...
January 30, 2009 at 8:29 am
We would be happy to help you, if you can provide us with the table definitions (in form of CREATE TABLE Scripts) and sample data (in form of INSERT statements)....
January 30, 2009 at 8:25 am
There are many ways to achieve this..., here is few ways to do it...
--METHOD 1
SELECTC.TRN, P1.Name AS FRM, P2.Name AS [TO]
FROMChild C
INNER JOIN Parent P1 ON C.FRM = P1.RNO
INNER JOIN...
January 30, 2009 at 7:41 am
I think you are getting NULLs because the you don't have any records where value of CustomFieldValueBit is 0...
REPLACE this
(SELECT SUM(isnull(soi.ItemValue,0))
WHERE CVOption.CustomFieldValueBit = 0) AS 'QuoteValue',
WITH
SUM( ( CASE WHEN...
January 30, 2009 at 7:33 am
You can set the SOURCE & TARGET connections (by setting "ConnectionString" property) dynamically using Expressions...
Look for Package Configurations, Expressions in BOOKS ONLINE
January 30, 2009 at 7:17 am
Well, you have to make sure that the file "C:\Practice Files\Northwind.mdb" exists on the SERVER (and not on LOCAL machine) and the sql service account/windows account has read access to...
January 30, 2009 at 7:10 am
What do you have in first place, a backup file (.bak) or a .mdf file? In either cases, you can setup the database. Use BACKUP DATABASE if you...
January 30, 2009 at 7:05 am
Can you elaborate more on how these two tables are linked? And what is the logic behind the output?
January 30, 2009 at 6:28 am
Well, I think the format "YYYYMMDD" is an ISO standard.. So, you can first convert the decimal to a varchar(8) column and then to a datetime column...
DECLARE @dSomeDec DECIMAL(8,0)
SET @dSomeDec...
January 21, 2009 at 8:07 am
...but the main question here is, how do you know which files needs to be deleted? The system cannot read your mind:D, and off course mine too..., you have...
January 21, 2009 at 7:00 am
Do the files to be deleted have a specific name format? If yes, then you can the specify the wildcard format in for each loop enumerator.
January 21, 2009 at 4:09 am
You can execute T-SQL statements in "Execute SQL Task"
January 21, 2009 at 2:37 am
Try adding "/r/n" as row terminator (replace "/" with "\")....
January 20, 2009 at 6:58 am
Viewing 15 posts - 616 through 630 (of 1,124 total)