Forum Replies Created

Viewing 15 posts - 1,891 through 1,905 (of 2,452 total)

  • RE: How do you send a resultset as html in an email?!

    this may give you some ideas:

    DECLARE @tableHTML NVARCHAR(MAX) ;

    SET @tableHTML =

    N'<head>' +

    N'<style type="text/css">h2, body {font-family: Arial, verdana;} table{font-size:11px; border-collapse:collapse;} td{background-color:#F1F1F1; border:1px...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Save DAT file in sqlserver

    Methew (5/20/2012)


    @young:

    i do not know the internal structure(and i do not know how to know/check its internal structure)...i have this file GeoLiteCity.DAT.I am passing IP address of current user and...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Audit Trail Generator

    J Livingston SQL (5/18/2012)


    rjs123431 (5/17/2012)


    Hi All,

    We use sql server 2005 and 2008. I need to trace INSERTED,DELETED and UPDATED records in some tables in this manner.

    - LogID (auto increment)

    ...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: rows to columns

    CELKO (5/18/2012)


    Learn RDBMS and do this right.

    what is the "right" way to do this?

    there seems to be many ways of doing this

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Audit Trail Generator

    rjs123431 (5/17/2012)


    Hi All,

    We use sql server 2005 and 2008. I need to trace INSERTED,DELETED and UPDATED records in some tables in this manner.

    - LogID (auto increment)

    - TableName

    -...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Query help

    SQL_Surfer (3/14/2012)


    I have a table that has EmployeeID, EmployeeLoginDateTime and What JobFunction they logged in under. JobFunction is like Developing, Coding, Programming, Adminstering and LogOut.I need to write a query...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: need help w/ my sort coulmn

    ok...I can see what you are trying to achieve....but why the increment by 2?

    what is the business case here...........??

    just curious

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Function to find whether last days of the month is weekend

    dwain.c (3/12/2012)


    I like being contrary so I have to ask, why are you using a calendar table?

    cos of this q from Jeff

    Jeff Moden (3/10/2012)


    Ok... my turn for a question, folks....

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Query help urgent!!

    Hi neol

    if you are able, then please...

    provide "create table" scripts

    example data

    what indexes you have

    the query you are actually running

    execution plans...actual preferable

    the results you are expecting

    if the above is...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: When is a reporting task/project too big for Excel?

    aitchkcandoo (3/11/2012)


    you are not able to tell me in general terms at which volume of data you would advise a client to use Excel PowerPivot to analyze data versus an...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Function to find whether last days of the month is weekend

    for any one interested...here is a quickly mocked up Calendar table and resultant code to answer OP's original question.....by using the calendar table approach.

    Obviously without pre populating the Calendar...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: When is a reporting task/project too big for Excel?

    aitchkcandoo (3/11/2012)


    I am asking because I want to know when does one decide to move to server side analytical engine and away from Excel.

    suggestion

    provide a scenario where you are unclear...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Function to find whether last days of the month is weekend

    Jeff Moden (3/10/2012)


    Ok... my turn for a question, folks. Does anyone have a way to do this particular task using a Calendar Table? It doesn't even have to...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: When is a reporting task/project too big for Excel?

    you posted this question in Analysis service forum...so can I assume you are asking about SSAS v Excel...is this correct?

    Have you used SSAS..or for that matter a SQL database?

    what experience...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: When is a reporting task/project too big for Excel?

    http://lmgtfy.com/?q=how+many+rows+can+I+have+in+an+excel+spreadsheet

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 1,891 through 1,905 (of 2,452 total)