Viewing 15 posts - 931 through 945 (of 7,187 total)
So you want a table with an indeterminate number of columns? That's going to be a horrible mess of dynamic SQL. I recommend you stick with Eirikur's solution.
John
January 30, 2018 at 3:44 am
Will each user always have exactly four activity dates associated with him or her?
John
January 30, 2018 at 3:10 am
msimone - Monday, January 29, 2018 9:54 AMi don't understand why the job changes it.
I'm sure there's a good reason for it. ...
January 29, 2018 at 9:58 am
That doesn't sound all that curious. Why do you want to change it?
John
January 29, 2018 at 9:46 am
If you test properly, you should have nothing to fear. But if it's a case of once bitten, twice shy, why not just capture logins in the errorlog? It doesn't...
January 29, 2018 at 7:21 am
Given the title of this topic, and the sparsity of information in your post, my only advice is to run DBCC CHECKDB WITH NO_INFOMSGS and post the results here. Do...
January 29, 2018 at 6:49 am
Third-party tool is another option. Only you know your system, and only you know why you rejected logon triggers, so it's difficult for us to advise you on what's best...
January 29, 2018 at 6:40 am
Yeah, something like this. I've not thought it through thoroughly, but it may give you something to build on. States such as California that have complex rules will need more...
January 26, 2018 at 8:31 am
You'll need to find a way of modelling those overtime rules in a table. You could put it into your query in a long CASE expression, but I don't recommend...
January 26, 2018 at 7:50 am
I'm not totally sure, but I don't suppose it'll be any worse than when the clocks go back an hour, will it?
John
January 26, 2018 at 7:44 am
Unfortunately not. You'll need to have set something up in advance. I think a trigger on sysjobs would work.
John
January 26, 2018 at 5:35 am
Neil
Long time no see!
This does seem strange. Does the error message state that the error occurred in that stored procedure? Have you tried running an Extended...
January 26, 2018 at 3:58 am
SELECT snapshot_isolation_state_desc
FROM sys.databases
WHERE name = 'MyDatabase'
John
January 26, 2018 at 3:42 am
First, sort out your database design. If a column is going to hold money data, give it a decimal data type, not nvarchar. If the data in your column is...
January 25, 2018 at 9:16 am
Viewing 15 posts - 931 through 945 (of 7,187 total)