Forum Replies Created

Viewing 15 posts - 10,786 through 10,800 (of 13,460 total)

  • RE: SSIS AND ISSUES WITH IMPORTING ORACLE VIA LINKED SERVER

    linked servers are notorious for slow performance; the reason is typically becuase the data is copied from the linked server into your servers tempdb, and then your operation/joins are performed...so...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Inserting multiple rows with select

    you are right...it looks like his maxnum() function returns the next available value...so it should be one less than that when added to row_number, unless he doesn't care about skipping...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Transaction log "sniffer"

    well third party log sniffers are great , but you can set up a trace going forward for free.

    Also, remember that the Application name can be faked by a developer-savvy...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Inserting multiple rows with select

    forget the cursor, use a the row_number function or a Tally table to join to to get your starting max number:

    something like this, if the query returns multiple rows, would...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Link to download SQL Server 2000

    i still have to support a few SQL 2000 clients that have not upgraded yet, it's not that uncommon that companies do not upgrade when their db system does what...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Spam from techtargetlists.com

    maybe one of the articles required registration on another site, so you duplicated the same email for registration for that article? check your cookies or firefoxes saved passwords...see if you...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Finding "similar" customer addresses

    there was a similar thread, where someone wanted to cleanup misspellings int eh database to get teh addresses normalized;

    take a look at this thread:http://www.sqlservercentral.com/Forums/Topic743750-338-1.aspx

    we threw together some interesting scripts to...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Query that normally runs in Less than a second. Has been running long

    it's statistics that is killing your query.

    as statistics get more and more out of date, the saved execution plan takes longer and longer, as the original plan is inaccurate.

    reindexing also...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Trigger error

    anitha is incorrect, he's confusing the way oracle or other databases handle triggers, vs the way SQL Server works.

    SQL Server's trigger is called once for any statement, whether it is...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Spam from techtargetlists.com

    Lately I'm swimming in spam messages from fake addresses that come from (supposedly) a .es domain email address, like 'santos2@telecable.es'; (I hope SSC can fix that for me too...just kidding)...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: DDL Trigger Required

    the default trace should have what you are after;

    i just did a backup, and confirmed that it appears in the trace.

    here's some code for you to test with:

    declare @sql varchar(max)

    declare...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: SQL Trace and Transaction Logs

    I hope I can help clarify a bit.

    some of the 3rd party Log readers , like from RedGate, can read your database and log files, and show you who did...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Link to download SQL Server 2000

    try this: http://www.microsoft.com/downloads/details.aspx?familyid=413744D1-A0BC-479F-BAFA-E4B278EB9147&displaylang=en

    That's straight from microsoft: the SQL 2000 MSDE (Desktop Edition), which is the old free for testing and evaluation version.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Trigger error

    a simple syntax error;

    INSERTED is a virtual table that exists just inside the trigger...so there is no table called [TRAIN].[dbo].inserted [/b]

    this should be:

    SELECT @SRVSTAT = SRVSTAT,

    ...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Copying A Record With Childrent Records In Many Tables Using Cursors

    Scripting this out is not all that difficult; I slapped together the examples just from the top of my head...you just have to do it one piece at a time....the...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 15 posts - 10,786 through 10,800 (of 13,460 total)