SQL Server Coding Tips

 

6 Responses to “SQL Server Coding Tips”

  1. Hi Victoria

    Awesome, thanks u so much for ur reply.

    Please mark me for the future questions.

    Many thanks indeed…….

  2. Hi Victoria

    How to reset the password in GP 10.0 if the user is not logged off properly. When the administrator reset the password, message appears like “password has not been changed. The User is logged in”.

    Do I have to reset password through Backend ‘ SQL Server’ and how it should be done. Please Explain……

    Many Thanks

    • Sharmila,

      I would recommend getting all users out of GP and running the following in SQL Server Management Studio:

      Delete DYNAMICS..SY00800
      Delete DYNAMICS..SY00801
      Delete DYNAMICS..ACTIVITY
      Delete TEMPDB..DEX_LOCK
      Delete TEMPDB..DEX_SESSION

      -Victoria

      • I was trying to upgrade our GP development server to SP2 and when I ran Utilities, it told me that someone was logged in, However, I already ran the SP2 install and couldn’t log in to GP to kick them out. I found several solutions to remove a user stuck in GP, including a couple of KB from Microsoft, but yours is the one that did the trick.

Trackbacks/Pingbacks

  1. Getting the name of a month from the month number in SQL Server - Victoria Yudin - GP Technical Blogs - Microsoft Dynamics Community - May 23, 2011

    [...] tips like this can be found on my SQL Server Coding Tips page. For more Dynamics GP code, check out my GP Reports page. Filed under: GP Reports code, SQL [...]

  2. Getting the name of a month from the month number in SQL Server | Victoria Yudin - May 23, 2011

    [...] SQL Server Coding Tips [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 422 other followers