Viewing 15 posts - 271 through 285 (of 381 total)
and convert(varchar, a.Date_DT, 120) = convert(varchar, b.Date_DT, 120)
This will find two records if they are in the same...
Russel Loski, MCSE Business Intelligence, Data Platform
December 27, 2006 at 6:47 am
Steve, thank you for your information. I had not thought to assign create table permission. In fact, I think that I had downright forgot about that.
It might work for us. ...
Russel Loski, MCSE Business Intelligence, Data Platform
December 26, 2006 at 12:45 pm
The statement:
document.all['A3'].innerText= objHTTP.responsexml.getElementsByTagName('InputZipCode');
returns a collection of element nodes. You need to first restrict it to one node. Then you need to get the text for that node.
Try the following from
http://www.devguru.com/technologies/xmldom/quickref/document_getElementsByTagName.html
document.all['A3'].innerText=...
Russel Loski, MCSE Business Intelligence, Data Platform
December 22, 2006 at 4:44 am
Greg, do you find significant overhead in running the scheduled job or was it rather trivial? I was thinking of scheduling this to check the table every minute. So a...
Russel Loski, MCSE Business Intelligence, Data Platform
December 21, 2006 at 3:57 pm
I had experminented setting the user name and password as an argument in the dtsrun command. The sql statements in the package still ran as the domain login of the...
Russel Loski, MCSE Business Intelligence, Data Platform
December 21, 2006 at 2:49 pm
You have verified that the xml document is going to create a distinct value in the primary key.
Russel Loski, MCSE Business Intelligence, Data Platform
December 21, 2006 at 4:46 am
You can apply a tablemapping on your data adapter (I assume you have tables with real name MyTable1Name and MyTable2Name: put your names here)
da is your data adapter
da.TableMappings.Add("Table", "MyTable1Name");
da.TableMappings.Add("Table1", "MyTable2Name");
Then...
Russel Loski, MCSE Business Intelligence, Data Platform
December 20, 2006 at 6:47 am
I have wrapped items in a transaction using execute sql statements. This post gave me reason to fix some problems.
First, create an executesql task that has a "begin transaction" statement...
Russel Loski, MCSE Business Intelligence, Data Platform
December 20, 2006 at 6:32 am
![]()
Thank you for correcting my error. I will fix it in the original.
Russel Loski, MCSE Business Intelligence, Data Platform
December 20, 2006 at 6:01 am
You can set up a transaction. The ArchiveTable is identical to the main table (no identity) with an Archive_Date.
set transaction isolation level repeatable read
begin tran
declare @refDate datetime
set @refDate = dateadd(month,...
Russel Loski, MCSE Business Intelligence, Data Platform
December 18, 2006 at 10:08 am
You create a global variable "ImportFileName".
Then in your call to dtsrun you add the following parameter:
dtsrun .... /A "ImportFileName":8=C:\MyFolder\MyFile.txt"
Then you use a Dynamic Properties task to set the DataSource property...
Russel Loski, MCSE Business Intelligence, Data Platform
December 18, 2006 at 3:46 am
create trigger myupdatetrigger on tblStudent for update
as
insert into tblstudent_history
select id, record_type from deleted
go
-- I would suggest adding a date field to your history.
-- The "deleted" element is a view...
Russel Loski, MCSE Business Intelligence, Data Platform
December 18, 2006 at 3:35 am
I don't have access to "Server Management Studio Express," which is the stripped down version of the normal 2005 Server Management Studio. I don't believe that you can use the...
Russel Loski, MCSE Business Intelligence, Data Platform
December 17, 2006 at 6:41 pm
I think that the nt user will be the nt user running SQL Agent.
That user must be an administrator on the machine (if I understand that right). You would need...
Russel Loski, MCSE Business Intelligence, Data Platform
December 15, 2006 at 4:08 pm
Every linked table from SQL you want to update in Access must have a primary key index in Access. The table doesn't actually have to have one in SQL Server (your...
Russel Loski, MCSE Business Intelligence, Data Platform
December 15, 2006 at 4:01 pm
Viewing 15 posts - 271 through 285 (of 381 total)