Forum Replies Created

Viewing 15 posts - 7,141 through 7,155 (of 14,953 total)

  • RE: Will a trigger work

    Instead of trying to store the AD data in the table, why not just query that when you need it?

    - 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: ctrl+E for Execute - how to disable this shorcut?

    You can reset the keyboard shortcuts in the Tools, Customize window.

    - 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: Are the posted questions getting worse?

    Alvin Ramard (1/28/2010)


    Actually his comment may have been much nicer than we thought, thanks to his poor English.

    He may have meant that he has "read the books" and that is...

    - 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 Mail does not work with the 64-bit version of SQL Server

    Krasavita (1/28/2010)


    When I go to sql jobs and trying to set notofications under email, there is no option to type email,looks like I have to enter somewehere else, where is...

    - 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: Are the posted questions getting worse?

    You can end up with injection attacks via sp_executeSQL if you build an SQL string and then execute that, same as Exec.

    For example, if you want to pass in a...

    - 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: Too Many Databases

    Number of databases per server only matters when it starts to cause maintenance problems.

    For example, if you split up data between multiple databases, and then have to synch it for...

    - 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: out of memory, 8007000e, -2147024882

    SQL Express has hard limits on how much RAM it can access, but that's probably not the actual problem. I would tend to suspect that Access is what's eating...

    - 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: Block Users from using sql server query analyzer

    Lynn Pettis (1/28/2010)


    In addition, the general users shouldn't even have QA/SSMS. The only people that should probably have these tools are DBA/Developers.

    It might be difficult to block them 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: Store Procedure takes lot of time to execute at 1st

    iamthemanx (1/27/2010)


    Like an 1 hr or so.

    Unfortunately , I can not post the code here (data privacy and all that stuff) and honestly, I do not want to dig...

    - 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: Store Procedure takes lot of time to execute at 1st

    Are you saying that if you clear the buffers, the proc takes seconds to run the first time, and then keeps going that way?

    I've never seen that behavior. But...

    - 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: How to Get the First or Last X Rows without Group By

    Does this do what you need?

    select top 1 *

    from My_Table_History

    where sName = 'BIGTABLE_A'

    and dtAsOf between @dtStart and @dtEnd

    order by hID

    union

    select top 1 *

    from My_Table_History

    where sName = 'BIGTABLE_A'

    and dtAsOf between @dtStart...

    - 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: LIne Feed Character in SQL 2000

    In the options, there's a setting for the maximum string length to display. Check that.

    - 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: Difference Between SSIS Package Store, File System, database

    I store them in the database, so they get backed up along with the jobs that call them, when I back up the system databases (msdb to be precise).

    - 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 Mail does not work with the 64-bit version of SQL Server

    That is correct. 64-bit SQL does not support SQL Mail. It does support DBMail.

    - 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 Mail

    No, you don't need a separate SQL account.

    The service account is the one that SQL is running under, as a Windows service. Do you know what a Windows service...

    - 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 - 7,141 through 7,155 (of 14,953 total)