Forum Replies Created

Viewing 15 posts - 1,576 through 1,590 (of 2,894 total)

  • RE: ADO recordset does not open after executing stored procedure

    Can be any sort of problem and it's unlikely to be related to SQL.

    Can you execute this stored proc from SSMS?

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: sql server performance

    Now I'm completely scared!

    Just image for a second:

    - Order, please!

    - Accused, there is a clear evidence that you've been googling for MS Certification Exam questions. It's a criminal offence and...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: sql server performance

    BTW, the only way to see the questions legally is to take the test. Any other way you're "seeing the questions" is illegal. We absolutely won't help you lie, cheat...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: CASE

    drew.allen (5/14/2012)


    I think the best way to do this is code it into your table with a foreign key to the overarching corporation. That way you can prevent things...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: T-SQL took more than 45 minutes, and it still Executing query

    drew.allen (5/14/2012)


    CELKO (5/12/2012)


    We do not use BIT flags in SQL; that was assembly language.

    T-SQL doesn't have a Boolean data type, so I see no problem with using a BIT to...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Switching number with counting

    Actually, I can see now what you want...

    But then you will need to provide a bit more of data. There is no way that SQL will guarantee that inserting in...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Switching number with counting

    that's dense_rank.

    select *, dense_rank() over (partition by id order by product) dr

    from @tbl

    If you need for id of 3 get rank 1 for 'e' and rank 2 for...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Execute output of the output

    ...

    Is there a better (or more elegant ) way of executing the output of the output of the Stored Proc?

    ...

    I can't think of more elegant way of executing the output...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: GUID

    riya_dave (5/11/2012)


    hi

    i have unique identifier field in one sp, that i need to pass into another sp.

    when i copy paste it to another sp as a parameter value,i am...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Help on Select statement

    vinu512 (5/14/2012)


    Phil Parkin (5/14/2012)


    vinu512 (5/14/2012)


    tbabs25 (5/14/2012)


    Can anyone help me in coverting the output I am geting when a type in my select statement.

    I get a number in return instead of...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: SQL Injection Vulnerability Question

    Perry Whittle (5/10/2012)


    hisakimatama (5/10/2012)


    The application is certainly a Windows-based application, then.

    so it's not exposed to the "outside world" then.

    Sure, and there is no way to get onto...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Triggers

    HowardW (5/10/2012)


    Eugene Elutin (5/10/2012)


    ...

    Depends on the reason for it. If the reason for preventing DML is to avoid long locks when another process is running, an after trigger doesn't help...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: improve performance of sp

    STOP POSTING USELESS CODE!!!

    Here is the must have one!

    CREATE PROC dbo.p_ShowMeWhenICanGoHome (@TargetTime TIME(0), @TellMeEvery TIME(0))

    AS

    BEGIN

    DECLARE @TimeNow TIME

    DECLARE @h INT, @m INT, @s-2 INT

    DECLARE @msg NVARCHAR(1000)

    DECLARE @WaitFor VARCHAR(8)

    SET @WaitFor =CAST(@TellMeEvery...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Triggers

    ...

    Depends on the reason for it. If the reason for preventing DML is to avoid long locks when another process is running, an after trigger doesn't help at all...

    Actually,...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Triggers

    HowardW (5/10/2012)


    Eugene Elutin (5/10/2012)


    I wouldn't use "Instead Of" trigger for that. The standard one for "after insert,update,delete" will do as fine with much less coding...

    Depends on the reason for it....

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

Viewing 15 posts - 1,576 through 1,590 (of 2,894 total)