Forum Replies Created

Viewing 15 posts - 6,076 through 6,090 (of 13,469 total)

  • RE: Sql writer not able to find the new table

    well my first guess was off i guess, but i still think it might be permissions.

    lets go back to the basics, i guess: you said this:

    when i try to access...

  • RE: Trigger spid

    inside a trigger, or procedure, there's a lot of built in functions you can use;

    I use a variation of this in a lot of auditing type stuff:

    --the auditing...

  • RE: Sql writer not able to find the new table

    if the user explicitly says SELECT * FROM NEWTABLE, does he get an error stating "object does notexist or does not have access"

    if that is true, it sounds like the...

  • RE: Undelete Files 64 Bit

    I used Recuva, some free app on http://www.piriform.com/recuva recently to get some stuff from a folder that was deleted on Win7 / 64, it worked, but others may know of...

  • RE: Trigger spid

    spids get reused, as they disconnect and someone else reconnects; You might want to add a trace so you can get the data you want int eh future, complete with...

  • RE: Is there an accurate script for datediff format in years:months:days?

    i have tehse saved in my snippets; does this do what you want?

    --elapsed time/datediff

    select

    [Days] ...

  • RE: convert '1 - Apr' to datetime

    here's my first guess; there's a lot of flexibility in ISDATE and convert, you might get dates that are out of range.

    ;With mySampleData

    AS

    (

    select '1 - Apr' As dt, 2010 AS...

  • RE: Foreign Key Constraint

    I know you are leaving a lot out to simplify the examples, but that ends up adding more questiosn than answers.

    why do you think you need two tables that represent...

  • RE: How to prevent user login to SQL Management Studio ?

    but the logon trigger only works if the person doesn't know how to change their connection string to explicitly say an application name:

    so the logon trigger is not 100% realiable,...

  • RE: Someone / thing changed password for user?

    snomad (1/16/2012)


    so I guess there are 2 issues:

    1. What changed the password (if indeed it changed?) Or what else could have caused this?

    There's nothing in...

  • RE: Make New Table Daily

    i'd avoid this at all costs.

    functionally, I see you want to put the data into separate ytables because it makes "sense"...you want to compartimentalize the data the way you...

  • RE: will it work?

    niha.736 (1/16/2012)


    :Wow: i got my clarification, many thanks mr.Lowell

    No problem, glad i could help;

    If you are coming from a programming background, Functions and Subs are interchangable, and the only difference...

  • RE: Foreign Key Constraint

    a foreign key can only be created against a column (or group of columns) which are either the Primary Key of the table, or has a Unique Constraint against it.

    Based...

  • RE: will it work?

    niha.736 (1/16/2012)


    Hi all,

    If a table contain no records and if I write the statement as insert in functions and I also written it in the stored procedure, so, what will...

  • RE: Corrupt T-Sql Script

    without any auditing already in place, all you can do is prepare for it to happen again in the future.

    http://www.ssmstoolspack.com/ has the free SSMS toolpack, and its "SQL History" feature...

Viewing 15 posts - 6,076 through 6,090 (of 13,469 total)