Forum Replies Created

Viewing 15 posts - 5,041 through 5,055 (of 13,465 total)

  • RE: Summing 2 Dates but only Workdays

    Here's my version of a Calendar table;

    I put a bit of time into it putting in various US holidays, which might be of some help as well.

    my date range is...

  • RE: Group the common word

    well this kind of gets you the data chopped up into the pieces youa r elooking for;

    i'm using the famous DelimitedSplit8K you'll find links to in many posters signitures, and...

  • RE: Delete data in tables/performance issues

    if you know it will always be a delete and truncate, vs a merge, i'd import into a new table, and when the import was complete, rename the original table...

  • RE: Are the posted questions getting worse?

    You could add me to a review list; I'd like to see something like an email or page where us "volunteers" go and review potential QOTD periodically, and after it's...

  • RE: Want To Be SQL Server 2008 DBA

    for me, there's different "flavors" of DBA's.

    i have this saved in my snippets;

    i recommend reading each of the articles, and test yourself/grade yourself on what you know how to do...

  • RE: Creating a backup plan

    take a look at this peer acclaimed solution to backups.

    http://ola.hallengren.com/sql-server-backup.html

    aside from that, it doesn't matter what you use, unless you test the backups after it was completed.

    running the backups is...

  • RE: Traces running with NULL FileName,MaxSize values

    wierd;

    i cannot get a trace to be created with either the options or the filename to be null;

    it's wierd that you are able to see that.

    i tried stuff like stopping...

  • RE: Sending email from SQL

    back to the first suggestions: get with your mail administrator; tell him the IP address /machine name and account you are trying to use so he can allow relaying.

    after he...

  • RE: Show Right Column to Right User

    include all the columns, but blank them out based on permissions is what i would recommned.

    something like this?

    SELECT

    SomeColumns,

    CASE

    WHEN IsSalesman...

  • RE: How to SEND a report via SPROC

    I've certainly done non-reporting services HTML reports via sprocs and mailed them, is that what you are after?

    the trick is to build an html string, and use FOR XML to...

  • RE: Sending email from SQL

    devanandiiway (8/6/2012)


    Hi,

    Thanks for the reply. I looked into the profile configration we have set basic authentication and we have given the credentials.

    Is that the reason for undelivered?

    Devanand.

    can't say for sure;...

  • RE: Sending email from SQL

    As derek and anthony identified, it'll be an issue with your mail server not allowing relaying; it's an anti spam feature.

    relaying is forwarding/sending emails to a domain outside of the...

  • RE: How to sum over distinct values of two columns

    the real data might be a little more complex, but doesn't a simple group by get you the data you asked for?

    /*

    OrderNumber Item Fee

    ----------- ------ -----------

    52 ...

  • RE: TSQL Concatenate Error

    BULK insert does not allow variables , nor will it allow concatention to create the file name;

    BULK INSERT BULKACT FROM 'c:\Export_o.txt' --valid

    BULK INSERT BULKACT FROM 'c:\' + @path --error

    BULK INSERT...

  • RE: SQL Server 2008 - Hosting permissions

    was this even close remotely what you were looking for?

Viewing 15 posts - 5,041 through 5,055 (of 13,465 total)