Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MS SQL Server


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





How To Split Three-value Column Into The Same Target?


Hi everyone,

We've got a source file which owns three different values: 'A','B','M'.

Where 'A' stands for "New Rows" and 'B' for "Delete rows" and 'M' for 'Update rows'

Using Conditional Split task we can redirect each subset into a OLEDB Destination but we are wondering how can we do the same using only one OLEDB? We've got only one table.

Thanks for your input and time,

 

 




View Complete Forum Thread with Replies

Related Forum Messages:
DTS - Split Single Source Record (text) To Multiple Target (sql)
I am using DTS and VBScript in DataPump tasks in order to transfer large amounts of data from text files to an SQL database.

As the database uses a normalized schema, there is often the case of inserting multiple records in a destination table from various fields of the same record of the source text file.

For example, if the source record contains information about goods sold like date, customer, item code, item name and total amount, and does so for a maximum of 3 goods per sale (row), therefore has the structure:

[date], [custid], [code1], [name1], [amount1], [code2], [name2], [amount2], [code3], [name3], [amount3]

trying to transfer that record to a [SALES] target table (in a normalized database), we would have to split each source record as follows:

[date], [custid], [code1], [name1], [amount1]
[date], [custid], [code2], [name2], [amount2]
[date], [custid], [code3], [name3], [amount3]

What is the best way to do this using DTS?

I have tried using a datapump task and VBScript, and I guess it has to do with the DTSTransformStat_**** constants, but none of those I used seems to work

Vasilis Siatravanis,
siatravanisv@interamerican.gr , vasilliss@hotmail.com

View Replies !
Could You Tell What's Wrong When I Split Table To The Target Partition Table?
Could you tell what's wrong when I split table to the target partition table?USE TEST--ADD FILEGROUP---------------------------------------------------------------------ALTER DATABASE TEST ADD FILEGROUP FG_01ALTER DATABASE TEST ADD FILEGROUP FG_02ALTER DATABASE TEST ADD FILEGROUP FG_03--ADD FILE--------------------------------------------------------------------------ALTER DATABASE TEST ADD FILE (NAME = DF_01,FILENAME = 'D:TESTDF_01.ndf',SIZE = 10MB,MAXSIZE = UNLIMITED,FILEGROWTH = 10MB)TO FILEGROUP FG_01ALTER DATABASE TEST ADD FILE (NAME = DF_02,FILENAME = 'D:TESTDF_02.ndf',SIZE = 10MB,MAXSIZE = UNLIMITED,FILEGROWTH = 10MB)TO FILEGROUP FG_02ALTER DATABASE TEST ADD FILE (NAME = DF_03,FILENAME = 'D:TESTDF_03.ndf',SIZE = 10MB,MAXSIZE = UNLIMITED,FILEGROWTH = 10MB)TO FILEGROUP FG_03--CREATE PARTITION FUNCTION---------------------------------------------------------CREATE PARTITION FUNCTION PF_HIS_HTTP_LOG(datetime)AS RANGE LEFT FOR VALUES ('20070101 23:59:59.997','20070102 23:59:59.997')--CREATE PARTITION SCHEME-----------------------------------------------------------CREATE PARTITION SCHEME PS_HIS_HTTP_LOGAS PARTITION PF_HIS_HTTP_LOG TO ( FG_01, FG_02, [PRIMARY])--CREATE PARTITION TABLE -----------------------------------------------------------CREATE TABLE HIS_HTTP_LOG ( USERID varchar(32) , USERIP varchar(15) ,USERPORT numeric(5,0) , OBJECTIP varchar(15) , OBJECTPORT numeric(5,0) , URL varchar(256) , HOST varchar(64) , DN varchar(64) , VISITIME numeric(5,0) , STARTIME datetime , ENDTIME datetime ) ON PS_HIS_HTTP_LOG(STARTIME)--INSERT DATA,PARTITION 1 20070101-------------------------------------------------DECLARE @i intSET @i = 1WHILE @i <= 100BEGININSERT INTO HIS_HTTP_LOG VALUES(CAST(@i AS varchar(32)),'192.168.1.1',5,'202.103.1.57',6,'www.sohu.com',11,CONVERT" target="_blank">http://sina.com.cn','','www.sohu.com',11,CONVERT(datetime,'20070101 13:25:26.100',121),GETDATE())SET @i = @i +1END--INSERT DATA ,PARTITION 2 20070102-------------------------------------------------SET @i = 1WHILE @i <= 200BEGININSERT INTO HIS_HTTP_LOG VALUES(CAST(@i AS varchar(32)),'192.168.1.1',5,'202.103.1.57',6,'www.sohu.com',11,CONVERT" target="_blank">http://sina.com.cn','','www.sohu.com',11,CONVERT(datetime,'20070102 11:25:26.100',121),GETDATE())SET @i = @i +1END--CREATE A TABLE -------------------------------------------------------------------CREATE TABLE TMP_HTTP_LOG( USERID varchar(32) , USERIP varchar(15) ,USERPORT numeric(5,0) , OBJECTIP varchar(15) , OBJECTPORT numeric(5,0) , URL varchar(256) , HOST varchar(64) , DN varchar(64) , VISITIME numeric(5,0) , STARTIME datetime , ENDTIME datetime ) ON FG_03--INSERT DATA TO TMP_HTTP_LOG 20070103-----------------------------------------------DECLARE @i intSET @i = 1WHILE @i <= 400BEGININSERT INTO TMP_HTTP_LOG VALUES(CAST(@i AS varchar(32)),'192.168.1.1',5,'202.103.1.57', 6,'www.sohu.com',11,CONVERT" target="_blank">http://sina.com.cn','','www.sohu.com',11,CONVERT(datetime,'20070103 09:25:26.100',121),GETDATE())SET @i = @i +1END--ADD CONSTRAINT--------------------------------------------------------------------ALTER TABLE TMP_HTTP_LOGWITH CHECKADD CONSTRAINT CK001CHECK (STARTIME >= '20070103 00:00:00.000' AND STARTIME <= '20070103 23:59:59.997')--SPLIT RANGE ,SWITCH DATA----------------------------------------------------------ALTER PARTITION SCHEME PS_HIS_HTTP_LOG NEXT USED FG_03ALTER PARTITION FUNCTION PF_HIS_HTTP_LOG() SPLIT RANGE ('20070103 23:59:59.997')ALTER TABLE TMP_HTTP_LOG SWITCH TO HIS_HTTP_LOG PARTITION 3--==========================================�======================================Why is the error in step of“ALTER TABLE TMP_HTTP_LOG SWITCH TO HIS_HTTP_LOG PARTITION 3�error infomation:message_id 4972,level 16,severity 1ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table 'TEST.dbo.TMP_HTTP_LOG' allows values that are not allowed by check constraints or partition function on target table 'TEST.dbo.HIS_HTTP_LOG'.Please tell me why ? check constraints ?Thank you very much !

View Replies !
DTS Help - Identity Column In Target Table
Having an identity column in target table, how do I use SQL 7 DTS ?

In Import wizard, I chose 'ignore' in source, checked Enable Indenity Insert - DTS failed with a msg like - a column cannot have NULL...

In DTS package, had Fast load and Enable Indenity checked - no luck !

What would be the standard procs for this since this sounds like a very common
senario.

Appreciate your help very much !

-Ivan

View Replies !
Dynamically Mapping Source && Target (has To Be Copy Column)
Hi All, i am pretty new to sql server and i have a task to be accomplished, but somehow got stuck up with the below

I have 2 databases in 2 servers,each database has same tables, say


Database_name Server Name Tablename
Eg:(1)
Database 1: Northwind --- Server A --- Customers
Database 2: Datawarehouse --- Server B --- Customers

Eg(2)
Database 1: Northwind --- Server A --- Orders
Database 2: Datawarehouse --- Server B --- Orders


Eg(2)
Database 1: Northwind --- Server A --- Employees
Database 2: Datawarehouse --- Server B --- Employees

Now the problem is, using activeX task first i input the source table name and assign that to a global variable, then assign source table to target table

DTSGlobalVariables("SourceTableName").Value = inputbox("Enter the Source Table Name:")
DTSGlobalVariables("TargetTableName").Value = DTSGlobalVariables("SourceTableName").Value

Then i use a dynamic task to change the source table and destination table name of the datapump task.

The first time i choose the transformation , i say copy coulmn ....... say the source and target tables are customers initially.


This package executes fine for the mapping i choose

But when i enter orders as tablename ....... everything gets changed ,.......... except the mapping ....... the mapping dosent change even if the source and destination table names of the datapump change.

Can someone help me out in resolving how to automap source and destination when they have same number of columns, same names and datatypes


I know it looks wiered to do this way .... but my project manager wants it this way!!

View Replies !
Split A Column
Hi everybody

Does any body know how to split a field in a table into two fields

eg
usermaster(table)
userid(field)

usermaster has 40 users with user id 1 to 40
i want to get data as

userid userid
1 21
2 22
3 23
. .
. .
. .
20 40

Thanks you very much

View Replies !
Split A Column Into 2 Columns
Hi everyoneI guess this should be a simple question for the gurusI have a Data in a column which is to be places in 2 columns instead ofone. How do i go about doing it in MS SQL server? Could someone pleasehelp me. I could do it in access with an update query but things are alittle different in SQL server so I am a little lost.Eg.NameJohn?Doeto be split intoName LastNameJohn DoeThanks in advance.Prit

View Replies !
How To Split Datetime Column
I have column that hold datetime , i want to split the column into many columns ex:
column --> 01/01/2007 00:00:00
i want tp split to day month year hour minute second

View Replies !
Split Values From Within Column
 
I have been trying to separate firstname,last name,middle from name column
 
Existing Format
Column Name =FIRST,LAST M
 
Desired
First
Last
M
 
I would llike to divide one column into three columns...How can i achieve it..
 
Please let me know
 

View Replies !
Split Column Into Severl Ones
Hello,

I have a table which contains a column like that:

Comment
-----------------------------------------------------------------------
User: Toto Password: Toto-Toto


I'd like to have in the same table:

Comment                                          User             Password
--------------------------------------------------------------------------------------------------------
User: Toto Password: Toto-Toto          Toto              Toto-Toto

Do you have an idea of how to do it in SSIS?
Thanks a lot for your help.

View Replies !
How To Split A Database Column ?
 

Hi,
 
I have a column, for example Prod_ID count is 100 (contains Raw Matl & Finished Matl).
 
I want to split this 2 columns as
 
Raw Matl               Finished Matl
60                          40
 
Can anyone please help me how to do this in SQL Server.
 
Thanks in Advance
Rajesh

View Replies !
Split Data In Column
hai all,
This is my first question to this forum.
here is my situtation:
I am into report testing I need to test a report for which i have write a query,iam using qery analyser for runing query


Database : sql server
tabel name :job_allocations
column naME :technicain code

Based on techincain code in joballocation tablei need to get technician cost from other table for the particular technician.

Based on the technician code user chooses column will be updated
if single data will be TC01
if more than one then data will be TC01:TC02:TC03

user can choose any number of techincian for a job

MY problem is :How to split tha when there is multiple technician and calculate cost for the job
Ineed it in single excecution query

Table structure

job_allocation table

jobcardn_fk Technician_code
jc01 TC01
jc02 Tco1:Tco2:Tc03......


I need it in



jobcardno_fk TEchnician_code
jco1 Tc01
jco2 Tc01
jco2 TC02
jc02 Tc03




TKs ands Regards
Diwakar.R

View Replies !
Split One Column Into Multiple Columns
Hi all,
I have a requirement like this  ,
I have Address Column.It is containing data like Mr. K KK Tank Guntur Jal Bhavan, Univercity Road, Rajkot 9843563469
I have to split this into 3 more columns like(Address1,name,phoneno)--
Means i have 4 columns including Address Column.(Address,Address1,name,phoneno)
 
Example:
Address:Rajkot
Address1:Univercity Road
Name:Mr. K KK Tank Guntur Jal Bhavan
PhoneNO:9843563469
 
How can i acheive this one with out data lose in Address Column.
Thanks in advance.
 
 
 

View Replies !
Query Split Column In 2 Columns In SQL
I like to push 1 column into 2 different columns just to show it on the screen. So no import in another table ore something like that.
I have a table like this:
Select Name from Cars;
Result:
Col1
BMWMercedesFordAudi
But i like to make a query so it is displayed like this:
Col1                Col2
BMW               FordMercedes         Audi
So i can bound a table directly to that column!Is this possible with SQL, and how can i build it.Thanks.

View Replies !
Split Data Into Two Column Table
Hello all,

Little layout question. Assume my dataset returns the following data:

A

B

C

D

E

 

How can I present this data in a table (or list, or matrix) splitted into two columns:

A     B

C     D

E     

 

Any idea will be very appreciated! Thanks a lot!

TG

View Replies !
Query To Split A Database Column ?
 

How can i write a query to split a database column and shows 2 new columns.  In my database column
I have 2 mixing items and need to split out to 2 columns.  Normally I have to write a query and change parameter
and run another query. 
For example a database column with average number and range number. 
Thanks
Daniel
 

View Replies !
How Do I Split A Column Result By A Nonalphanumeric Character?
I have a column that returns client numbers.
The client numbers are 4-6 characters in length.  A period (.) is added to the end of the client number, and then one last digit (1-4) is affixed at the end to denote a categorization.
In SQL, I need to figure out how to divide these results into two columns, one for the client number and one for the categorization number.
EG:  client #4334.1 would become 4334 for client # and 1 for categorization number
or
         Client #424561.3 would become 424561 for Client # and 3 for categorization number.
I have to strip out the period in the process and leave myself with just the numeric characters divided into two columns.
Ive been researching my brains out on string queries and substring queries and I can't figure out how to parse out the period and/or to have SQL understand that I need everything BEFORE the period for one column and everything AFTER the period for the second.
Is it possible to do this?  I really need help on this one.
Thank you :)

View Replies !
Comparing A Column List Split To A Table.
Let me see if I can explain my situation clearly.I have a table with the columns:answer_id, question_id, member_id, answer- answer_id is the primary key for the table.- question_id relates to another table with questions for a user. Thetable holds the question and the possible choices in a varchar fieldseparated by a delimiter.- member_id is self-explanatory- answer is a varchar field of all the choices the user selected,separated by a delimiter.Here is my problem.I am trying to search all members that have answered, say, question_id= 2 where they selected 'brown' as one of their choices.i can do this if they selected ONLY that item, but not multiple items.The problem is this portionanswer in(select valu from dbo.iter_intlist.....I need this to be something like....function_to_return_all_separated_answers(answer) in(select valu from dbo.iter_intlistThe current way, it is only returning members that have an answer'Brown', not 'Brown, Blue' in their answer field. Make any sense? So,what I need to do is separate the list of answers and say :select member_id from profile_answers whereANY ANSWER in function_to_split(answer) MATCHES ANY OF THESE (selectvalu from dbo.iter_intlist...It seems I might have to join or something, I am just a little lostright now.Here is my proc.ALTER procedure search_detailed_get_ids@question_id as integer,@answers as varchar(8000),@member_ids ntextasdeclare @v as varchar(8000)--get the delimited string of all possible answersset @v = (select bind_data from profiles_questions where question_id =@question_id)--prepare it for the function only accepting 1 charset @v = replace(@v, '||', '|')--gimme all members that matchselect member_id from profiles_answers where question_id = @question_idand answer in(select valu from dbo.iter_intlist_to_table(@v, '|') where listpos in(select valu from dbo.iter_intlist_to_table(@answers, ',')))and member_id in (select valu from dbo.iter_intlist_to_table(@member_ids, ','))returngo

View Replies !
Split A Single Column Data In To 2 Columns
Hi
This is probably a very basic question for most people in this group.
How do i split the data in a column in to 2 columns? This can be done in access with an update query but in MS SQL server I am not sure.
Here is an example of what i want to acheive

FName
John?Doe

FName LName
John Doe

thanks for the help
prit

View Replies !
Split Column Data Into Multiple Lines
 

Hi,
    I have a scenario, where I have a string column from database with value as "FTW*Christopher,Lawson|FTW*Bradley,James". In my report, I need to split this column at each " | " symbol and place each substring one below the other in one row of a report as shown below .

 "FTW*Christopher,Lawson
  FTW*Bradley,James"

 
Please let me know how can I acheive this?

View Replies !
How To Split A Delimited Column Into Mulitple Rows In The Dataflow?
I'm sure there is probably a very easy solution that I am just not seeing or can't Google...

I have a DataFlow that includes a column of Delimited values (i.e. Value1,Value2,etc..). As this DataFlow is populating a parent table, I need split the values into their own dataflow and populate a child table. I've tried a script transformation and couldn't figure out how to accept 1 delimited input row and output multiple rows after a split. Any ideas?

TIA,
Matthew

View Replies !
How Can I Split Fields And Depending One Column Decide The Foreing Key
I´m wondering how to solve the following scenario with SSIS

I have a CITY table and a STATE table, I have to load a file with the information regarding to the CITY:

 
the state table is like this:

 
StateCode(PK)      stateLegalCode         stateName
=============  ==============   =========
1                          01                            Florida

 
the city table is like this:

 
citycode(PK)         cityLegalCode          cityname          StateCode(FK)
============    =============        ========        =============
1                          1001                           Quakertown       1

 
the file has the following information
 

cityLegalCode            cityName
=============       ========
01-1001                     Quakertown
...

how can I load the file into CITY table:

1-)  with the file's cityLegalCode I have to split the string and if the two initial digits are 01 the registry must have 1 in the StateCode(FK).

how can I do something like that using SSIS???

thanks

View Replies !
Need To Find An Easy Way To Split A Column In Table Without Using Cursor Or Temp Tables
Hi ,
I have two tables within a SQL database. The 1st table has an identified column and column which lists one of more email identifers for a second table,
e.g.
ID     Email
--     ----------
1      AS1 AS11
2      AS2 AS3 AS4 AS5
3      AS6 AS7

The second table has a column which has an email identifier and another column which lists one email address for that particular identifier, e.g.
ID      EmailAddress
---     ------------------
AS1      abcstu@emc.com
AS2      abcstu2@emc.com
AS3      abcstu3@emc.com
AS4      abcstu4@em.com
AS5      abcstu5@emc.com
AS6      abcstu6@emc.com
AS7      abcstu7@emc.com
AS11     abcstu8@emc.com
I need to create a stored procedure or function that:
1. Selects an Email from the first table, based on a valid ID,
2. Splits the Email field of the first table (using the space separator) so that there is an array of Emails and then,
3. Selects the relevant EmailAddress value from the second table, based on a valid Email stored in the array
Is there any way that this can be done directly within SQL Server using a stored procedure/function without having to use cursors?

Many Thanks,
probetatester@yahoo.com

View Replies !
MSX Setup: Cannot See Target DBs?
 Hi All

I have set up a MSX server for managing all of our backup jobs. However when I try and create a DB maintenence plan I can only see the system DBs not user created ones!

Is there anything I should do?

Thanks

Gopherman

View Replies !
SET TARGET = NULL
Hi,

I am writing an insert stamenet that appears like:

INSERT INTO SppTarget (IndicatorNumber, Part, Years, Target, CompareMethod)
SELECT '8', 'B', '20052006', '0.682', '1' UNION ALL
SELECT '8', 'B', '20062007', '0.688', '1' UNION ALL
SELECT '8', 'B', '20072008', '0.692', '1'

What if I want to SET Target = NULL in this statement, how can i do that?

Thanks in advance !

View Replies !
MSX Setup: Cannot See Target DBs?
Hi All

I have set up a MSX server for managing all of our backup jobs. However when I try and create a DB maintenence plan I can only see the system DBs not user created ones!

Is there anything I should do?

Thanks

Gopher

View Replies !
Backing Up All Target Servers
Has anyone created a script that, when run against the Master database, will back up all databases on target servers?

Thanks

View Replies !
The Target Is Not In The Current Database
Can someone please help me with the following error?

 

I am trying to create a trigger that copies data from a table in one database to another. However I am getting the error 'Cannot create trigger on databasename.dbo.tablename as the target is not in the current database.

 

Below is the SQL I am using to create the trigger:

create trigger addtotable1

on databasename.dbo.tablename

for insert

as

insert into anotherdatabase.dbo.tablename

select databasename.dbo.tablename.userid, databasename.dbo.tablename.username, biadatabasename.dbo.tablename.issuperuser

from databasename.dbo.tablename, inserted

where databasename.dbo.tablename.userid = inserted.userid

and inserted.roleid = 3

 

Andrew Ling

View Replies !
What Do I Need To Use SSIS API On A Target Machine?!
Hi,

I've created an SSIS package to be loaded using my ASP .NET app.  This package is kept within the application and loaded via Microsoft.SqlServer.Dts.Runtime.LoadPackage method.

My target machine does not have MS SQL Server 2005 installed.  So what do I need at minimum to get this up and running?  What components do I've to install or copy over?

I tried to copy just the class libraries across.  I copied Microsoft.SQLServer.ManagedDTS.dll and Microsoft.SQLServer.DTSRuntimeWrap.dll into my bin directory but I got this error:

[COMException (0x80040154): Retrieving the COM class factory for component with CLSID {E44847F1-FD8C-4251-B5DA-B04BB22E236E} failed due to the following error: 80040154.]
   Microsoft.SqlServer.Dts.Runtime.Application..ctor() +25

[DtsPipelineException: Retrieving the COM class factory for component with CLSID {E44847F1-FD8C-4251-B5DA-B04BB22E236E} failed due to the following error: 80040154.]
   Microsoft.SqlServer.Dts.Runtime.Application..ctor() +87


I can't find any information online so any insight or advice will be very much appreciated!

View Replies !
Invalid Target Name - How Can It Be Determined?
Hi, I am sending a message to an invalid target name. The message eventually gets back to the initiator as an error type message. How can I determine the exact cause of the error - and determine that the target service name is invalid? I am using the ServiceBrokerInterface and the Message does not tell much - it seems. Also, in the sys.conversation_endpoints table, the record associated to the message only says 'Error', but no other indicator.

View Replies !
The Target Service Name Could Not Be Found.
Hi :

I am creating a queue application using Service broker. I was able to send and receieve messages between 2 databases in the same instance. Now I am trying to communicate b/w 2 different instances. I am getting the following error...

The target service name could not be found. Ensure that the service name is specified correctly and/or the routing information has been supplied..

The routing informations is as follows

DROP ROUTE SERVERROUTE

CREATE ROUTE SERVERROUTE

WITH

BROKER_INSTANCE = 'D6F1721F-E7A2-4497-8890-FD4C2AAD98FE',

SERVICE_NAME = 'SERVERSERVICE' ,

ADDRESS = 'TCP://10.23.3.12:6022';

GO

I also check the sys.routes and the entry is correct. I was also trying to debuggin using SQL profiler...but it didnt help much.

How do I fix this ? Your help is appreciated.

Thanks,

Pramod

 

 

 

View Replies !
Target Queue Disabled
Hi,

I receive messages in my target queue but target queue continously become disabled even aften I enable and receive message it still says target queue is disabled?

 

Please Guide

View Replies !
Source And Target - Both Behind Firewall Using NAT
In this situation do I need a proxy or forwarder at both ends to prevent connection issues? Are there plans to handle this in future SSSB upgrades. Thanks.

View Replies !
Multiple Sources And One Target
I'm thinking aboug using Service Broker to aggregate transactions from 12 remote SQL Servers to a central SQL Server. Service Broker is new to me, so I don't know what the proper setup would be.

We have five different kinds of transactions that can be sent from any of the remote servers. These remote servers truly are remote, connecting to the central server over a WAN. We don't want problems with one server to interfere with any other server. We also don't want problems with one kind of transaction to interfere with the processing of any other kind of transaction.

If were only talking about one remote server, I'm guessing I'd want to create 5 different services - one for each kind of transaction. Does that mean I'd also need to create 5 different routes on both the remote server and the central server?

And how would I scale this out to a dozen remote servers? Can I stick with 5 services on the central server, or would I need to define 5 different services for each remote server, so 60 total? And would that be 60 different routes defined on the central server? Based on my limited knowledge of routes and how they're tied to services, I think that would mean 60 routes, but maybe I'm missing something.

Please let me know. Thanks.

View Replies !
Jump To URL With A New Target Page
In Opening a display of invoices in Report Server I have a ULR link in the Jump to URL section under the navigation tab.

I have the URL with the invoice number  in the expression.  Is there something I can add to this expression that will force the interface to Open a new windows page instead of the existing window?

 

 

 

 

 

 

 

View Replies !
Jump To URL With A New Target _blank
Hi all,

In Opening a display of invoices in Report Server I have a ULR link in the Jump to URL section under the navigation tab.

html code given : <a href="url"  TARGET="_top">my value</a>

I would like have this code html : <a href="url"  TARGET="_blank">my value</a>

How can I do it ?

Thanks.

 

View Replies !
Master / Target Server
Silly question, but why can you not setup a multi-server job and have that same server as a target? What's the rational behind this?

View Replies !
SQLAGENT MASTER/TARGET
I have several target servers defined, i have a job that needs to run in a serial fashion (ie.. 1 target at at time) if every target kicks off the job at the same time it's going to bog down the disk drives... can this be serialized? or do i need to write a special routine...

View Replies !
Hyperlinks With A Target Frame
Does anyone know how to add a hyperlink with a target frame. In the navigation tab of reporting services I am having difficulites adding
http://www.linkgoeshere.com target="framename"

Thanks

View Replies !
Changes To Master/Target Server Configurations
I've installed SQL Server 2000 and applied SP3a.  I see SP4 is available and fixes a lot of things.  The only bit I am unsure about is section '5.3.2 Changes to Master/Target Server Configurations' 
 http://download.microsoft.com/download/1/b/d/1bdf5b78-584e-4de0-b36f-c44e06b0d2a3/ReadmeSql2k32sp4.htm#_5464_sql_server_agent_enhancements_705
"Before you apply SP4, you must complete several steps to upgrade your SQL Server 2000 master/target server configuration. The changes that are introduced with SP4 are not compatible with SQL Server 7.0 target servers, or with any servers not running SP3 or later. This is a change from the original SQL Server 2000 functionality. "
As I'm just starting out I don't even know what 'Master/Target Server' is.  I'm only installing to my PC which is XP Pro SP2. Can I ignore this step and apply the patch or do I need to do as it states?
Thanks 
 
 

View Replies !
Replication Target Table Shrinks To Zero
I want to replicate a database to a subscriber that will be used as a readonly copy. The data has to be replicated as close to instantly as possible.To do this I set up a database export of objects and data to populate thesubscriber, then I set up transactional replication. To verify thatreplication is working successfully, I count the rows in each table, thereare 3 tables in total. For one of the tables, the replication completes butalmost immediately afterward, the table starts to shrink, and after severalhours the record count is zero. This isn't happening to the other twotables, and I can't figure out why.If you have no idea what might be causing this, perhaps you can suggestsome places to start looking. This is Win2k SP4 with SQL 2000 SP3.Thanks much.

View Replies !
Backing Up All Target Servers (revised)
I am looking for a script that will do differential backups of all user databases on target servers. This script is run from the master server and must determine if new user databases have been added to the target servers and add those to the backups.

Any help would be appreciated.

View Replies !
Master / Target Maintenance Plans
I have successfully set up a Master Server with Target Servers for nightly database backups. However, I am now attempting to add additional target
servers to an already existing "maintenance plan" on the Master server and I am having some problems.

Here are the steps I have used to ADD an additional Target Server:


Edited the "Database Maintenance Plan" on the master server to ADD an additional target server.

The "job" is successfully added to the new Target Server, but the corresponding "Database Maintenance Plan" is NOT added! Because the maintenance
plan does not exist on the Target server, the job fails!

Why doesn't the "maintenance plan" get created on the Target Server when ADDING an additional target server to the "Master Maintenance Plan"?

During the initial creation of the "maintenance plan" on the master server, all "Target servers" do receive the instructions to add the job and the maintenance plan.

View Replies !
Can I Use A Variable To Hold The Target Table Name.
We need to pull from a table that is named tablename_mmddyy and populate a table with the same format tablename_mmddyy.  The date will be different every month so I want to be able to build the tablenames every month.  Is there a way to do this in SSIS?  Thank you.

View Replies !
Exception Has Been Thrown By The Target Of An Invocation
I have this exception on page loading, is there any solution for this how can I fix this exception...

View Replies !
Exception Has Been Thrown By The Target Of An Invocation
Getting this error "Exception Has been thrown by the target of an invocation" when trying to create Integration Services Project. Any ideas what can be wrong?

Thanks.

View Replies !
Delete Matching Rows From Target
Hi
 
I am very new to SSIS and currently was reading through various manuals but couldnt find a way to do a simple delete.
 
STAGE_ORDERS looks something like
 
order_id       order_value
100             50000
300             70000
.....
 
Orders table looks like
order_id         order_value
100                9000
200                1000
300                8000
 
now i want to use SSIS to delete the orders 100,300 which are present in staging table from the orders table .
 
How do i accomplish this task since i dont see a delete transformation.
 
How about updates if i want to update the order values from the staging table to the orders table what transformation can accomplish this
 
regards
Hrishy
 

View Replies !
Calculated Values In Target Table
Hi,

is there any way to fill up tables with calculated valued? My Source Table is build-on like this example:

CustNo / Year / Variable / Value
100 / 2005 / var1 / 321.90
100 / 2005 / var2 / 44.20
100 / 2006 / var1 / 12.09
100 / 2006 / var2 / 7.91
101 / 2005 / var1 / 23.78
101 / 2005 / var2 / 67.22

My Target Table should have this result:

KPI / CustNo / Year / Value
KPI1 / 100 / 2005 / 366.10
KPI1 / 100 / 2006 / 20.00
...

What I want to accomplish? I want to add var1 and var2 from Customer 100 in Year 2005, but is this possible with standard tasks in SSIS?

bye
Jonas

View Replies !
How To Target The File Name With Date Variable
My client will upload a file to a FTP folder regularly, but the time patten is unknown, only thing i know is he'll use today's date as the file name. for example, he uploaded a file 'wk070705_id.txt' today, but i don't know when the next file will be uploaded.  so how can i write a package like, eveytime when he upload a new file (for example if he upload a file 'wk070708_id.txt'), i can import the data into my table?  i am a very newbie of SSIS, it would be perfect if i can get a full script for this.  thanks in advance with appreciation!

 

ps: the date in file name is yymmdd

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved