Forum Replies Created

Viewing 15 posts - 211 through 225 (of 479 total)

  • RE: Are the posted questions getting worse?

    carriem (2/11/2009)


    I'm new to all this and I'm just beginning to learn how to create scripts for reports using SQL and Crystal reports. I found it interesting how some...

  • RE: Complicated Comments

    FWIW, the Simple-Talk Code Prettifier on SQLServerCentral gets it wrong (highlights PRINT '7' as executable). SSMS (2K5 SP3) shows

    [font="Courier New"]PRINT '1' -- /* ;PRINT '2' */ ;PRINT '3' /*

    PRINT '4'...

  • RE: SSIS 101: Isolating Data in a Data Flow

    Great article. I too am having to do more and more work with SSIS and, naturally, don't have time/budget to go on training 🙁 hence learning about the tools described...

  • RE: How do I pass a variable value to a query?

    I've come up with a solution using the Execute SQL Task but it seems a bit of a kludge.

    I've changed the SQL query in the task to something likeselect year,month,'select...

  • RE: How do I pass a variable value to a query?

    Sorry. But I don't see how this fits with accessing SSIS variables in tasks in a package. Could you explain further?

    The data flow source task (where the SQL query is...

  • RE: Are the posted questions getting worse?

    Bob Hovious (2/10/2009)


    Other posts for other bulletin boards:

    Engineering:

    "How can I tell if my bridge is going to hold all the cars and trucks that will be driving on it?"

    "How do...

  • RE: Guest Editorial: Do You Run Antivirus Software on Your SQL Servers?

    David B (2/10/2009)


    in a standard corporate network all AV's will probably be the same brand and version and so if the workstation AV cant stop it, neither will the server's...

  • RE: Ignore apostrophe(') in SQL Server

    venki (2/11/2009)


    I am doing a vb program which requires this one.

    I will first taking that employee name into a variable and checking for apostrophe(') and if it is there then...

  • RE: Inserting records from multiple tables

    A few comments.

    Firstly, I try to avoid using GOTO as it can make the code difficult to figure out when someone comes back to it months later.

    I also try to...

  • RE: TSQL

    Sankar Reddy (2/10/2009)


    This is written as a trivia question and to raise awareness that certain questionable features will not be supported in future versions of SQL Server. Follow the link...

  • RE: T-SQL

    OK, I learned about the IDENTITY function used with SELECT INTO.

    But if I wanted to copy a table, except as a temporary hack, I'd still use 'Create Script..', edit, etc.

  • RE: Convert Integer Date to DateTime

    If you look at the definition of the table MSDB..SYSJOBSERVERS, it shows that [Last_run_date] is an int, so you need to convert it

    I also did what you should have...

  • RE: Ignore apostrophe(') in SQL Server

    Are you building the statement in, for example, a web page?

    If so, you need to do something like

    Name = "Venkat R'Thota"

    SQL = "select * from Employee where empname='" & replace(Name,"'","''")

    The...

  • RE: UPDATING A TABLE ROW BASED ON VALUES IN OTHER ROWS

    Assuming I interpreted your rules correctly (you could really do with explaining it better), I beleive your sample data is actually in the final state, so I made up some...

  • RE: Order by

    Sergiy (2/10/2009)


    Derek Dongray (2/10/2009)


    Sergiy (2/9/2009)


    So, what was wrong with my solution?

    I thought your solution was just a step-by-step explanation of Adi's.

    Yep, kind of.

    Just missed his post.

    So, the question then: what...

Viewing 15 posts - 211 through 225 (of 479 total)