Forum Replies Created

Viewing 15 posts - 13,321 through 13,335 (of 13,849 total)

  • RE: Reading an Excel File from SQL Server

    I agree - DTS is the way to go.  Why make things harder for yourself??

  • RE: Importing a txt file into SQL Server Table

    Difficult to tell from the way that the stuff's been formatted for display.  What is the field delimiter (ie which character appears between the fields and nowhere else)?

  • RE: INFORMATION_SCHEMA.VIEW_COLUMN_USAGE alias column name

    I've had a quick look, but can't find where this alias is appearing - please direct me to it!

    Phil

  • RE: How can I call a script from a script

    Wow, comprehensive answer!  So there is a God and he understands SQL Server ... all is well

  • RE: Local system account failing to authenticate

    What message are you getting?

  • RE: Magic Table

    Not in SQL Server - but perhaps it's something to do with Magic Software ???, check out:

    http://www.magicsoftware.com

  • RE: error 18456

    This appears to be a logon error - possibly because the external app is trying to log in as sa and the sa password has been changed on the server. ...

  • RE: Query to calculate average cost

    This gets you some of the way and may give you an idea about how to finish it off:

    select b1.*, sum(b2.units) CumUnits

    from basetable b1

    join basetable b2 on b1.tdate >= b2.tdate

    group...

  • RE: INSERT INTO With Condition

    Why not recast this as a conditional insert?

    if not exists (SELECT destination FROM filespath WHERE Destination = @a)

    begin

     INSERT INTO FilesPath (Path,Destination)

     VALUES     (@a,@b)

    end

  • RE: How can I call a script from a script

    Hi Bob

    Can you break the script into several stored procedures and then bring these all together in a master stored procedure?  Just use

    exec [procname]

    within a stored proc to execute another...

  • RE: Need Help ASAP!

    I reckon people would be more keen to help if you posted a copy of pornstar.mdb

    Under what circumstances does the error message appear?...

  • RE: how to tweak indexes?

    Watch out for the possibility that INSERT statements can add a row that has its clustered index value 'between' existing entries - possibly forcing a major rewrite of data on...

  • RE: Function for YTD calc in TSQL

    Hi Ray, just a quick comment on your response - your final query will, in fact, only return those orders that are placed at the same millisecond as the query...

  • RE: need Help in select query

    I would have thought that the GROUP BY clause would ensure that city5 would not be displayed 3 times - ** please test and post the results along with the...

  • RE: need Help in select query

    I'm having a bit of trouble working out what you want.  Is it something like this?

    select t1.city, t1.name, sum(no_of_games)

    from test1 t1

    join test2 t2 on t1.city = t2.city

    join test3...

Viewing 15 posts - 13,321 through 13,335 (of 13,849 total)