Viewing 15 posts - 61 through 75 (of 248 total)
You can use DDQ (Data Driven Query) task in DTS (SQL 2000). If you do not want to use data flow transformation, then :
a) If the source is a flat...
February 8, 2006 at 10:34 am
And change the id = ? to id in (1, 2, 3)
February 8, 2006 at 9:22 am
set nocount on
declare @tableA table (colA int, colB int, colG int)
declare @tableB table (colA int, colC varchar(10))
insert into @tableA values (1, 10, 100)
insert into @tableA values (2, 20, 200)
insert into...
February 4, 2006 at 7:26 pm
In SQL Server, you can use savepoints to rollback to that savepoint and then just have the logging functionality based on the error code.
Oracle provides something called as "pragma autonoumous...
February 4, 2006 at 7:19 pm
Aswani: For pre-defined table structure, it cannot be done since that is the physical definition of the table and doing so would require a DDL change. For actual temporary tables,...
February 2, 2006 at 8:25 am
Works great. I added an order by on SKU_ID in the function in order to make sure that the SKU_STRING gets generated the same way for the cases.
Thanks Jesper
January 30, 2006 at 5:39 am
Thanks Jesper...but the problem is that the max number of SKUs is not fixed...it can be as big as 200.
January 27, 2006 at 9:04 am
Change SQL Server authentication to be "SQL Server and Windows" instead of just "Windows only" and re-start services.
January 24, 2006 at 6:19 am
SELECT *
FROM @Obs O
WHERE EXISTS
(SELECT 1
FROM @ObPrefs A
INNER JOIN @PREFS B
ON A.PREFID = B.PREFID
WHERE A.ObID = O.ObID
AND B.PrefName IN ('nodogs', 'waterside')
...
January 24, 2006 at 6:04 am
There are couple of different ways...if you know the value in the REF column i.e. if those are static values that you will be aware of, you can do this:
SET...
January 23, 2006 at 10:01 am
Yes, it does..we use it in a lot of places.
January 19, 2006 at 11:05 am
You have not posted the query, the table structures and their relationship or the sub-set of data so this answer is based on just the post from above.
If you have a...
January 19, 2006 at 11:01 am
For filegrowth, Yes - it won't effect the existing work till the next time when the filegrowth actually occurs. I would recommend though to avoid file-growth and to size your...
January 18, 2006 at 9:13 am
Viewing 15 posts - 61 through 75 (of 248 total)