Forum Replies Created

Viewing 15 posts - 13,186 through 13,200 (of 14,953 total)

  • RE: Import data from Gupta SQLBase 7.0 database

    Have you tried setting up a connection to that DSN using either SSIS, or directly in the query using OpenRowset?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Can i execute more than one stored proc from the code behind in one batch

    I must be missing something. SQL functions can't execute stored procedures. Are you talking about some other kind of function?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: importing documents from word tables into SQL 2005

    The only thing I can suggest is using VBA Office Automation to create a Word object, open the document in RAM, and read it programatically. I know that can...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Testing Database Roles in development environment

    Personally, I'd create a separate login, make sure it is part of the domain groups that you want to test against, and not part of any other domain groups, add...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Timeout errors !

    Is the attempted login originating from the server, or from a remote computer?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Import Export Wizard SQL SERVER 2005

    Since I don't yet have a copy of Excel 2007, I'm kind of guessing here, but it looks to me like it might be a question of being unable to...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: DBCC reindex not improving fragmentation

    Indexes on smaller tables often won't defragment, because fragmentation doesn't matter in them. I don't remember the threshhold, but I think it's something like 10k rows before index fragmentation...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Scary Questions

    Considering my own background, I'm gonna have to go with "new DBAs who don't know even simple basics are frighteningly common". Not long ago, I was one of those....

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: sql performance issue view or #temp better

    Temp tables are faster in some cases, views are faster in others. It depends on a lot of factors.

    Give us a sample of each, and some of the tables...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Problem with Trigger

    Try something like this:

    ;with CTE (Row, Ord_Type, Ord_No, Item_No, Line_Seq_No, CD_TP) as

    (select row_number() over

    (partition by ord_type, ord_no, item_no, line_seq_no

    order by cd_tp),

    ord_type, ord_no, item_no, line_seq_no, cd_tp

    from OrderRebate)

    delete from CTE

    where cd_tp =...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Query optimization

    You don't have to use Distinct in the select after Except. Just adds more processing, doesn't actually change the results.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: stored procedure help

    Since you're adding the value to a table when you double-click it, you could have the query for the list box have a "where not in" and select values from...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Problem with Trigger

    I'm not sure what you're asking/telling us. I see the sample code and what it does, but are you expecting something from us on this?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Scoring a test - Trying to improve Sproc performance

    Without actual table structure, I can't provide a full solution, but it seems to me you could pivot the columns per student-test into rows (1 row per question, per student,...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Continuation of: Execution Plans not the same

    Just make sure that the original query will return rows from the test data, and that it gives you the kind of results you want to see.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 13,186 through 13,200 (of 14,953 total)