Forum Replies Created

Viewing 15 posts - 76 through 90 (of 628 total)

  • RE: Trouble Declaring a Variable in a Stored Procedure

    your variable types are not valid for SQL.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Debug SSIS

    look farther up in the output text. you should see an error that tells you exactly where it had the problem.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Anything larger than varchar(8000)?

    your other option would be to output to a file and then send the result as an attachment.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Anything larger than varchar(8000)?

    just occurred to me that since you are in 2000 you would not be able to puch more than 8000 characters into the variable. My Bad!

    Basically if...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: INSERT INTO Question

    you do not need the variable

    INSERT INTO dbo.Purchasing(PartNumber, IsHardware, KitAlways, ChinaPN, KitChina, InstallTime, LaborClass, UnitCost)

    select

    RIGHT('000000' + convert(varchar(6), PartNo), 6),

    0,

    0,

    RIGHT('000000' + convert(varchar(6), PartNo), 6),

    0,

    10,

    1,

    null

    FROM

    dbo.Purchased

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Anything larger than varchar(8000)?

    before SQL 2005 there is nothing larger than 8000. In 2005 there is Varchar(max) but that feature is not available in 2000. You can generate a string larger...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: how the Microsoft Access forms are accesable after the Migration into SQL ??

    In access you have to create the linked table connections. Something of note is that whenever you make a change to table structure in SQL you will have to...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Update Query based on multiple tables and multiple criteria

    Welsh is absolutely correct I had missed that. you have to establish the relationship between the two tables. the current clause is more of a where cluase not...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Update Query based on multiple tables and multiple criteria

    try this. you can not use a like in a join. but by moving it to the where clause it should work fine.

    UPDATE Purchasing

    SET Purchasing.IsHardware = 1

    FROM Purchasing...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: What or Yes

    I would take the opportunity to work "What" into every conversation, e-mail, and interaction I could. I would then put "What" posters all over my cubicle. That of...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: how to write this query

    You need to post some DDL and sample data. That would allow us to provide a better answer.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: How to output query results into a text file

    do you have SSIS available to you. this would be very easy to do in an SSIS package and then you could execute the package from a job.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Names of People Born in specific month

    what are you trying to do with the following lines of code?

    CREATE TABLE #GET_EMP_MON_BIRTH

    (

    emp_dob SMALLDATETIME,

    emp_name varchar(255)

    )

    SET @emp_dob = month(emp_dob);

    SET emp_name

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: When To Hire a DBA

    I think this is a similiar line of dicussion to a post I addded to someone asking how to get into a DBA position. The smaller companies or even...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: delete records by day

    The variable @vStart is not declared

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

Viewing 15 posts - 76 through 90 (of 628 total)