automation

Technical Article

RE: Passing List of Tables

  • Reply

That would alos be a good solution.  Since I have a select statement that defines the tables I need to copy, I can pass the list to a table, temp table, sursor, etc.  I am mystified about how I get that result set into DTS so it can use it.

You rated this post out of 5. Change rating

2004-04-01

Technical Article

RE: DatePart Function

  • Reply

I used this UDF alot to return only the date part. I got from some site. It is also possible to get the time part mathematically. I just forget the URL though!CREATE FUNCTION fn_Date ( @ADate datetime ) RETURNS datetime AS  BEGIN  declare @DateVal datetime  set @DateVal = CAST(FLOOR(CAST(@ADate AS float)) AS datetime) return @DateVal END

You rated this post out of 5. Change rating

2004-03-29

Technical Article

Identify triggers event /action in triggers script ?

  • Topic

Hi, allI just built a trigger for my table, both for insert and update. The purpose is to log history of the data table to another table. The question is, how am I gonna classify the trigger run under insert action or update action.The triggers is similar likethis :CREATE TRIGGER [sp_trrequest] ON [dbo].[TrRequest] FOR INSERT, […]

2004-03-17

1 reads

Technical Article

RE: do I have to DELETE then re-enter

  • Reply

Hi Jonathan.I used the "ON UPDATE CASCADE" option, and it worked, cheers.The reason i wanted to change the attributeId is because I wanted my query to return the results in the ORDER BY attribId:<code>SELECT DISTINCT  p.productId,  p.productName,    a.attribName,  pa.attribValue FROM         tblProduct p,   tblProductAttribute pa,              tblAttribute a              WHERE p.productId = pa.productId AND a.attribId […]

You rated this post out of 5. Change rating

2004-03-11

Technical Article

RE: ftp task not connecting

  • Reply

I would recommend setting up a DOS batch script to handle the ftp and kick that off using DTS.  You'll find it works very consistently and is relatively simple.  Make sure to have full path names for all file references in the DOS scripts (ex. e:\my_scripts\ftp\some_ftp_script.bat).

2004-01-28

1 reads

Technical Article

RE: Export to Excel without DTS. Possible?

  • Reply

quote: I am trying to figure out how to export the results of a query to Excel with some specific formatting. Is this possible to do without using DTS? One method could be -- Inputs:File name of the excel document. -- Returns:The query result, written directly in Excel document! DECLARE @err_desc varchar(255) DECLARE @i int […]

You rated this post out of 5. Change rating

2003-08-27

Technical Article

RE: About mysql

  • Reply

Hi happyshan_1980, quote: hello everyone: I have a trouble .My operation system is red hat 9.01 ,and when I use the kylix 3 I can't connect with mysql .Please help me. Thank you ! I think you should subscribe to a MySQL mailing list http://lists.mysql.com/list.php and ask your question there. The probability to get a […]

You rated this post out of 5. Change rating

2003-08-21

2 reads

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers