Viewing 15 posts - 22,291 through 22,305 (of 59,098 total)
craig.bobchin (12/3/2014)
Thanks that worked. How can I concatenate this with a date field. neither '&' nor '+' seem to work.
Is the date "field" an Integer, as well? If...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 8:53 pm
CELKO (12/3/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 8:23 pm
simflex-897410 (12/3/2014)
However, we are allowed to manipulated what they call custom fields.
These custom fields are literally called field1, field2... up to filed5.
Right...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 5:40 pm
craig.bobchin (12/3/2014)
I've got a column that holds a time value in Integer form as a number from midnight (IE military time) with no leading 0s or colons.
0 = 00:00
30...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 5:33 pm
clayman (12/3/2014)
Thanks, figured it out. The second solution seems to run ~6-7 times faster.
Do you have the index that I recommended?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 5:08 pm
IO got lucky... or maybe my Yabingooglewho has gotten a lot better and I found it on the first shot.
http://www.sommarskog.se/grantperm.html
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 5:05 pm
schleep (12/3/2014)
djj provided the link above. I'm looking into it now...
That's not one of Erland Sommarskogs articles, which I highly recommend.
I'm looking for his stuff on the subject now.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 5:03 pm
Emil Bialobrzeski (12/3/2014)
schleep (12/3/2014)
If you give someone ability to impersonate sa he would be able to execute any piece of scrip as saExec 'drop table x' as login = 'sa'
Which...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 5:01 pm
Probably not, Joe. There are already a whole bunch of workarounds that are as fast as or faster and certainly easier to use than a SEQUENCE, if I understand...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 4:59 pm
schleep (12/3/2014)
So, set the sa account to Disabled, but change db owner to sa (or is "SA" referring to something else?)? Counter-intuitive is right!
Yes. The owner of the database...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 8:46 am
CELKO (12/2/2014)
It has nothing to do with the physical storage like your silly IDENTITY. A file needs a unique physical storage locator, like a record number.
In SQL Server, an...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 8:17 am
schleep (12/3/2014)
To be clear, it's not her account that has privs on xp_cmdshell. And she is a trusted user.
Moreover, the sproc she's executing that's calling xp_cmdshell take no...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2014 at 8:00 am
MMartin1 (12/2/2014)
DonlSimpson (12/2/2014)
Jeff Moden (10/25/2008)
As soon as something needs to "go in in a hurry", all notions of standards and well intended code reviews will go by the wayside.+1
You may...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2014 at 10:39 pm
I don't have time to elaborate right now and will try to do so tonight but giving an individual proxy privs to execute xp_CmdShell directly is one of the biggest...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2014 at 2:31 pm
dastagiri16 (12/2/2014)
if we shrink log file daily after tlog backup ...will there any issue
It's a total waste of time because it regrows every day. If you want it to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2014 at 8:43 am
Viewing 15 posts - 22,291 through 22,305 (of 59,098 total)