Forum Replies Created

Viewing 15 posts - 19,111 through 19,125 (of 49,552 total)

  • RE: DATABASES

    SSIS packages or merge replication with filtered subscriptions. If I was doing this, I'd probably go with SSIS packages since it's a once-a-month sync. Merge replication would work too, probably...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: The multi-part identifier "" could not be bound.

    Open the MSDN library for the ADO.Net classes and read up on the parameters collection. It's really not hard and I know the docs have a large number of examples...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: fetching date from 1 sp to another

    hbtkp (4/14/2012)


    they both are datetime.

    how to compare two dates with <=

    Oddly enough, I showed you in an earlier piece of code...

    IF (@Date1 <= @Date2)

    Simple as that.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DATABASES

    Merge replication looks like overkill here. If all that's needed is to copy data once a month that's a simple ETL process with SSIS packages, scheduled in SQLAgent most likely.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: The multi-part identifier "" could not be bound.

    Don't concatenate values into a string and execute them. It's a major security hole and it hinders performance.

    read up on the ADO.Net parameters collection and use that.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: The multi-part identifier "" could not be bound

    Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic1283659-391-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: fetching date from 1 sp to another

    GilaMonster (4/14/2012)


    If it's a CLR function you'll have to check the .NET code to see where the function gets its data. Or ask your boss or colleagues, one of...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: fetching date from 1 sp to another

    hbtkp (4/14/2012)


    my function doesnt have base table

    it simplylike this

    create function name(@Reportdate1)

    return table

    (

    column1 datatypr,

    column2 datatype)

    Not possible. That is not a complete...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: fetching date from 1 sp to another

    hbtkp (4/14/2012)


    i need to insert in fitem3,but as it is function,i cannot insert into it.so what i need to do,can i create temp table and then insert into function

    No, there...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Changing Isolation levels from default isolation

    a) No, it won't because there must be no other users. You must quiesce the database before enabling the option, single user mode though is not required.

    From Books Online:

    When the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Changing Isolation levels from default isolation

    balasach82 (4/14/2012)


    About point2, I was wondering what would happen to the live/running transactions when I change from RC to RCSI. Since, only committed data is read, should I not have...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: MCTS 70-433 Exam.

    Have a look at MeasureUp and Transcender. They both sell practice exams. Some of the exam guide books also have DVDs with practice tests.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Multiple files for tempdb

    1) no

    2) the multiple files applies to data files only.

    http://sqlskills.com/BLOGS/PAUL/post/A-SQL-Server-DBA-myth-a-day-(1230)-tempdb-should-always-have-one-data-file-per-processor-core.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: MCTS 70-433 Exam.

    Braindumps are cheating. They are actual questions taken from the exams in violation of the NDA that all exam takers must accept. Using or distributing braindumps can result in your...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Changing Isolation levels from default isolation

    1) no

    2) no

    3) increased load on TempDB, possible change in behaviour (update conflicts instead of lost updates). Do test the app on read committed snapshot before just switching production over.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 19,111 through 19,125 (of 49,552 total)