Forum Replies Created

Viewing 15 posts - 2,521 through 2,535 (of 5,393 total)

  • RE: BCP question

    You can do it with the wizard, there's no need for an example.

    Open SSMS and connect the target database (SQL 2005), right click the database name, select tasks --> import...

    -- Gianluca Sartori

  • RE: Help needed with query where matching or last date found

    Not enough information here.

    Please read the article linked in the first line of my signature. You will find out how to post effectively and get an answer quickly.

    -- Gianluca Sartori

  • RE: URGENT, Generate DB Diagram in visio from SQLServer!

    If you want to do the exact contrary, check out this Visio Addin by SQL Server MVP Alberto Ferrari: http://forwardengineer.codeplex.com/

    -- Gianluca Sartori

  • RE: BCP question

    I don't think BCP is the right tool for this task.

    Have you considered using SSIS?

    -- Gianluca Sartori

  • RE: Looking for a Good SQL Server Graphical ERD Documentation Tool

    I don't know if these tools do exactly what you're after. Give them a look:

    1) Er-Win

    2) Visio

    -- Gianluca Sartori

  • RE: Need Help on SQL Query

    I'm sorry. Here's the revised version:

    SETUP:

    DECLARE @Table1 TABLE (

    ItemID int,

    ItemName nvarchar(100),

    ...

    -- Gianluca Sartori

  • RE: SQL Server Monitoring Tool

    Performance Guard, I think you misread the question.

    We're not talking about performance monitoring, but (mostly) DDL change tracking.

    -- Gianluca Sartori

  • RE: Loop within a loop... BUT...

    OK, and what is supposed to go into the e-mail body?

    All the columns? If so, I think that the XML solution is not feasible: you would have to convert and...

    -- Gianluca Sartori

  • RE: SQL Server Monitoring Tool

    It could also be done with DDL triggers (I have done this in the past), but this is not the point.

    When it comes to source control, I must admit that...

    -- Gianluca Sartori

  • RE: Performanence issue on select query

    Grant Fritchey (10/4/2011)


    But then you build the system to allow the drill-down to make another query. I've been through this too, at multiple organizations with multiple different data sets. There...

    -- Gianluca Sartori

  • RE: Need Help on SQL Query

    LutzM (10/4/2011)


    It sounds like homework or test.

    If not, can you please explain the business case?

    Nevertheless it was fun to code!

    -- Gianluca Sartori

  • RE: Rebuilding The Master Database

    OzYbOi d(-_-)b (10/4/2011)


    Thanks & Good question.

    L' Eomot Inversé (10/4/2011)


    Good question.

    I guess I'm glad that I don't know this answer from experience, just from reading.

    My thoughts exactly Tom!

    I wish it was...

    -- Gianluca Sartori

  • RE: Intervals of values

    Mark-101232 (10/4/2011)


    WITH CTE AS (

    SELECT [Index],Value,Stamp,

    ROW_NUMBER() OVER(ORDER BY [Index])AS rn1,

    ROW_NUMBER() OVER(PARTITION BY Value ORDER BY [Index])AS...

    -- Gianluca Sartori

  • RE: Unsure of SQL batch

    ruan.keyser (10/4/2011)


    It was the latter

    Perfect. Glad I could help.

    -- Gianluca Sartori

  • RE: Loop within a loop... BUT...

    donato1026 (10/4/2011)


    And I see you are a fellow Italian... Gratzi.

    Non c'è di che 😀

    -- Gianluca Sartori

Viewing 15 posts - 2,521 through 2,535 (of 5,393 total)