Viewing 15 posts - 1,801 through 1,815 (of 7,191 total)
How many jobs does this affect? How long do they run before you get the error? What SQL runs to cause the error? Does this happen intermittently, or every time...
February 15, 2017 at 8:06 am
Not getting what percentages? To find the percentage of free space in a file, divide the free space by the file size and multiply by 100.
John
February 15, 2017 at 5:06 am
Probably the best way is to split it into individual rows using a splitter function, which will also give you the row number, then reconcatenate with a
February 15, 2017 at 3:09 am
Are you looking for four separate rows, or a single row with three line breaks in it?
John
February 15, 2017 at 2:35 am
February 15, 2017 at 2:04 am
Not sure what your question actually is, but why don't you use a sequence?
John
February 14, 2017 at 9:31 am
Yes, this is wrong, for the following reasons:
(1) It is resource-intensive and thus can cause sever performance problems;
(2) It can expose details that may be confidential;
(3) It's...
February 14, 2017 at 8:53 am
Your SQL Server monitor should give plenty of interesting information, such as wait stats, from which you may be able to work out what was causing your query to run...
February 14, 2017 at 5:35 am
Those were rhetorical questions, meant to make you think about what you actually require, rather than just answer yes. Never mind - I'll take you at your word. The query...
February 14, 2017 at 5:08 am
What do you mean by read-only access? Do you mean members of db_datareader? How about users with VIEW ANY DEFINITION permission? What about those who have SELECT permission on some...
February 14, 2017 at 4:36 am
"750 Euro" and "150 Euro" are text values, so you can't add them up. You'll need to separate the numbers from the words before you can do a sum.
February 14, 2017 at 2:28 am
planetmatt - Monday, February 13, 2017 9:37 AMwhy is the log so large?
SELECT log_reuse_wait_desc
FROM sys.databases
WHERE name =...
February 13, 2017 at 9:54 am
First, that's going to fail if you insert more than one row at a time. Second, have you considered a foreign key constraint instead of a trigger?
John
February 13, 2017 at 9:49 am
Viewing 15 posts - 1,801 through 1,815 (of 7,191 total)