Forum Replies Created

Viewing 15 posts - 7,561 through 7,575 (of 13,469 total)

  • RE: GROUPING by WEEK when weeks span multiple months

    Here's a Calendar Table Generator that I put together; it features all US National Holidays, as well some other that were fun to research and code; if the holiday is...

  • RE: SQL 2008 R2 logins

    on the SQL2005 server, you'll want to download and use Microsofts sp_help_rev_login, which scripts out the logins on the other server.

    then run the results on the 2008 server.

    once the windows...

  • RE: A developer is using an db user (nonhuman) to make changes to production

    ugh;

    no dev area and developers making direct changers to production(since it;'s the only work area?); Paul's advice about liquor and updating the resume sounds even better now....

    how about a...

  • RE: A developer is using an db user (nonhuman) to make changes to production

    DBAgal (5/18/2011)


    I inherited a database where the db users were granted db_ownership. After spending hours on the phone yesterday explaining the db change management process, the developer was given...

  • RE: Table information

    a rename of an existing object doesn't count as a DDL operation, so it wouldn't be in the default trace; I investigated that on a similar thread previously.

    you'd want to...

  • RE: ARG! Char(185)

    here's one way to do it; I'm just creating a table full of high ascii chars, cross applying them, then using patindex to filter:

    with mySampleData

    As

    (SELECT top 255 row_number() OVER (ORDER...

  • RE: bcp row terminator

    PhilPacha (5/17/2011)


    Review the "BCP" entry in Books Online.

    -c controls the output of data - in this case, "character."

    -r controls the row delimiter

    -c -r /n

    Review the "BCP" entry in Books Online.

    Everything...

  • RE: export sql data

    homebrew01 's method is exactly how I've done it in the past.

    now for "special characters", what does that mean? high ascii?(so you have to export the results as NVarChar?), html...

  • RE: Best method for moving constant flow of data into SQL

    Don't Panic: MERGE is just a fancy way to do what you've already done a zillion times:, but as separate steps...INSERT new rows, UPDATE matching rows, DELETE rows that were...

  • RE: Best method for moving constant flow of data into SQL

    martynjreid (5/16/2011)


    Welsh Corgi (5/16/2011)


    What time constraints are you looking at?

    The ETL process takes anywhere from 30 mins to 8 hrs dependant on hardware and size of the source database.

    dumb question...

  • RE: Best method for moving constant flow of data into SQL

    for me the big question is the number of rows moved;

    when your procedure was running once a day, what did it do? MERGE statement? drop and recreate the data?...

  • RE: View Only Role

    is an error returned, or just no data?

    check the schema of the underlying objects inside the view;

    for example, lets say dbo.View1 & 3 are accessing items under the same schema,...

  • RE: Tab, CHR(9), not working in browser

    browsers ignore whitespace...tabs, CrLf and more than one space in a row; that's part of the html definition

    if you need to visualize whitespace, you'll need to html-ize the results...either by...

  • RE: Handling Email Opt out

    how about adding a column to your records to have an opt out date and optional reason in the database row for the emails; then when select FROM YourTable where...

  • RE: Help EXEC inside SP not working

    it's syntax: remove the word "SELECT" just before EXEC;

    looks like an artifact from trimming the code.

Viewing 15 posts - 7,561 through 7,575 (of 13,469 total)