Forum Replies Created

Viewing 15 posts - 376 through 390 (of 444 total)

  • RE: Multiple Results Tabs

    As far as I understood the question, the OP is asking to display the results in two different tabs like Results1,Results2, and so on inspite of in the one and...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: When adding a table I get a new DB also.

    SqlConnectionStringBuilder.AttachDBFilename Property

    Gets or sets a string that contains the name of the primary data file. This includes the full path name of an attachable database.

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: sp_change_users_login 'Auto_Fix'

    When you use Auto_Fix, you must specify user and password if the login does not already exist, otherwise you must specify user but password will be ignored. login must be...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: What is wrong with this IF statement

    Truncate Table command is logged but deallocation of pages is recorded, NOT the row level datya as in Delete command and Data is NOT recoverable after Commit.

    In case of...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: SQL School Video - Creating Stored Procedures

    The tool used to make the video is cool. Also, great learning stuff for the beginners.

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Data Dictionary

    Try Using APEX Sql DOC for data dictionary and VISIO for creating the diagrams and alot more. APEX SQL Studio has the diagram (have to check this out...)

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: How did you learn SQL

    MSDN, Books Online and Google are your best companions.

    ALOT of stuff ot there... All you need is TIME...

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Cursors and variables outside them

    And I would be waiting for the SQL Server BUG. 😀

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Cursors and variables outside them

    I dont know about the bug found in the SQL Server 2005. But I need to clear a couple of things over here,

    1. The variable @ReturnID id NOT...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: return Statement In a procedure

    I simply added begin and End in the Else part and did some of the changes as shown below...

    ELSE

    begin

    --==== If The file does not exist process...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: how to send trigger messages to Front end

    I dont think there is any way to return message from the trigger.

    Can do this from the sp using raiserror.

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: I am getting an error while trying to execute the following querry

    sp_send_dbmail stored procedure is in the msdb database. For this reason, you have to provide the databasename, SchemaName and Objectname in order to hit the right object.

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: WORKING WITH TEMPDB DATABASE IN MSSQL 2005

    The tempdb is re-created every time you restart SQL Server.

    If you need to Shrimk the tempdb, see the following link...

    http://support.microsoft.com/kb/307487

    Atif Sheikh

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: returning part of string value where separator is '-'

    You are absolutely right. Can use CASE as;

    Declare @YourVal as varchar(12)

    Set @YourVal = 'V1GFG04 - Luis '

    Select case Charindex('-',@YourVal) when 0 then 'what ever you want' else Left(@YourVal, Charindex('-',@YourVal)-1...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Given an employee table( with columns Emp_ID,Emp_Name,Emp_Salary), how would you find out the fifth highest salary?

    101 % right... I wonder why I didnt think of it. Thanks

    here it goes...

    Select Top 1 TrainingPlanID from

    ...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

Viewing 15 posts - 376 through 390 (of 444 total)