Forum Replies Created

Viewing 15 posts - 18,706 through 18,720 (of 18,923 total)

  • RE: MS SQL SERVER 2000 - SQL USER RELATED QUESTION

    I have no other idea taht can help you. Maybe some of the gurus can find an answer to your problem.

  • RE: MS SQL SERVER 2000 - SQL USER RELATED QUESTION

    RPC means remote procedure call. I don't know if it has anything to do with the RPC event in the profiler that is raised when you call a stored...

  • RE: Complex Stored Procedure

    have you tried?

    SET @strSQL = @strSQL + ' WHERE im_id LIKE ''%'+@inputSearchText+'%''

    im_name LIKE ''%'+@inputSearchText+'%''

    OR im_desc LIKE ''%'+@inputSearchText+'%'''

  • RE: Receiving a weird error message

    Hmmm I tried his code and it works for me... can't see the problem from here. The only thing I can think of is that you may have 2...

  • RE: How to enforce a one-row table

    A similar suggestion had already come up but the prospect of a custom error message was appreciated. But your point still stands that updates are not denied with this...

  • RE: How to enforce a one-row table

    You're trigger would look something like this if you do my final idea

    CREATE TRIGGER [trTest_IO_Insert] ON [dbo].[Test]

    INSTEAD OF INSERT

    AS

    SET NOCOUNT ON

    --makes sure that the table is empty and that...

  • RE: FTP HELP!!!!

    This could become an automated task... but the best option is to find out why you're stuck at 30 mb... I can't help you on that matter since I never...

  • RE: FTP HELP!!!!

    I have never used a splitting software for automation tasks but I'm pretty sure winrar could do it. Here's a search from download.com that could get you started on...

  • RE: FTP HELP!!!!

    I haven't read the whole thread but I'm just pitching in with my first idea. Since it seems that you can send up to 30 mbs, couldn't make small...

  • RE: How to enforce a one-row table

    I guess it all depends on the documentation system in place... but a well placed "this table can only have 1 row at the time for x reason" can...

  • RE: How to enforce a one-row table

    No just for any developper that tries to insert in that table... The end user doesn't need to hear about this.

  • RE: How to enforce a one-row table

    Thanx Jeff for the input. It shows that there's always many different ways to achieve the same result with SQL server. But even with this new solution I'd...

  • RE: Changing data type in multiple tables

    First of all you need dynamic sql to do this.

    Second, I see you are assuming that all nVarChar columns in your database are size 50. This tells me that...

  • RE: Setting different databases to use in a stored procedure

    I just made a little search on my previous question and here's the best link I found.

    http://vyaskn.tripod.com/differences_between_set_and_select.htm

    And I'm sorry to contradict you Aj but none of your 5 points were...

  • RE: How to enforce a one-row table

    You could use a simple after insert trigger then.

    Create trigger ....

    FOR INSERT

    AS

    SET NOCOUNT ON

    if select count(*) from MyTable = 1

    begin

    rollback tran

    raiserror ('can''t have more than one row in this...

Viewing 15 posts - 18,706 through 18,720 (of 18,923 total)