Forum Replies Created

Viewing 15 posts - 91 through 105 (of 168 total)

  • RE: view inside stored procedure

    Hi Grant,

    I just realized that you are the author of a book focused on t-sql query performance.

    I believe such a usage will affect the performance of SQL Server in a...

  • RE: view inside stored procedure

    In fact, I can not see any advantage by creating a view within a stored procedure.

    But what I'm interested is that the sql engine successfully compiles the sp code without...

  • RE: view inside stored procedure

    Hi Ankur,

    Actually we have to add the DROP VIEW command within the procedure, otherwise a second call to SP will cause an error.

    Here is a better version.

    CREATE PROC USP_VIEW

    AS

    DECLARE

  • RE: view inside stored procedure

    Hi Ankur,

    You can use dynamic sql statements.

    Here is a sample script

    CREATE PROC USP_VIEW

    AS

    DECLARE @sql nvarchar(max)

    SET @sql = N'CREATE VIEW view_name AS SELECT TOP 3 * FROM...

  • RE: Passed 70-448!

    Raunak Jhawar (5/5/2010)


    Thank you.

    It has been a month already of preparing for 70-448.

    Can you please advice on key areas from Exam point of view?

    Hi Raunak,

    It has been long I have...

  • RE: Passed 70-448!

    Raunak Jhawar (4/16/2010)


    Can you suggest a certification for BI and any pre-requisite. if any.

    70-448 is requirement for MCTS - SQL Server 2008, Business Intelligence Development and Maintenance certification

    Additionally if you...

  • RE: Which certification?

    Hi Abrar,

    Both documents have the same pre-requisites for same certifications.

    They can be considered the same. The opposite can not be thought also.

  • RE: Which certification?

    Actually I got the certification paths document from Learning Rewards Program downloads.

  • RE: BI Certification

    I have some experience with SQL Server 2005 and Reporting Services but lost my job in the recession. After alot of thought I have decided I want to persue a...

  • RE: Which certification?

    Hello Mike,

    Passing 70-431 is enough to complete requirements for MCTS : SQL Server 2005 certification

    And completing other two exams (443 and 444) on top of 431 will earn you the...

  • RE: The best way to add next month

    🙂

    After Michael, Paul has the shortest statement ever ... Great!

  • RE: The best way to add next month

    Hi nguyennd,

    You are genius 🙂

    I was so detailed with mod, division, etc.

    You made the query more simple.

  • RE: The best way to add next month

    U can try this

    SELECT

    CASE WHEN (@Date % 100) = 12 THEN

    ((@Date / 100) + 1) * 100 + 1

    ELSE

    (@Date / 100) * 100 + (@Date % 100)...

  • RE: reporting tools for sql server

    SSRS (SQL Server Reporting Services) is definelty a good reporting tool that is working very effective in my production environments.

    You can use it integrated with SharePoint portal applications, or stand...

  • RE: Splitting A String

    Hi Goldie,

    The following script is giving the outcome you want in my test database.

    As you will see there is a string split function within the first part of the sql

    Then...

Viewing 15 posts - 91 through 105 (of 168 total)