Viewing 15 posts - 601 through 615 (of 3,348 total)
Grant Fritchey (3/24/2016)
March 24, 2016 at 2:37 pm
Grant Fritchey (3/24/2016)
I too am very interested to hear what the full story is on this one.
My money at this point is on an interview question. Either taken from the...
March 24, 2016 at 2:18 pm
Without looking at the actual script, just commenting on the generic process.
One way to achieve what you want is to use a view instead of a table per the "parent"...
March 24, 2016 at 2:13 pm
The WITH INDEX clause is a so-called index hint. "Hint" is the name, but it is actually a directive. You are saying to SQL Server: "I know that thousands of...
March 23, 2016 at 4:34 pm
SheFixesThings (3/23/2016)
Oh and I found that the AcctMgrID field is INT
Then two obvious fixes are to replace SET @AcctMgrID = '' with SET @AcctMgrID = 0, and to remove the...
March 23, 2016 at 2:41 pm
Thanks, Drew! It does not work that way in Dutch, which is why I used the wrong form.
I guess English is better in this then Dutch, because here we never...
March 23, 2016 at 2:34 pm
In my opinion, the commonly heard arguments against triggers are mostly from a practical angle:
1. Triggers are bad because you can easily mess up - change a row somewhere and...
March 23, 2016 at 12:33 pm
Jacob Wilkins (3/23/2016)
Hugo Kornelis (3/23/2016)
WHERE LEN(ISNULL(sfl.ConvertedContactId, '')) < 1
Alan already commented on this. I see this type of WHERE clause more often and it always me angers me. Just think...
March 23, 2016 at 12:11 pm
I would start by using bcp to create a format file, as described here: https://msdn.microsoft.com/en-us/library/ms191516.aspx
Double check the format file, then use it as a parameter for the BULK INSERT command.
March 23, 2016 at 12:04 pm
db8 (3/23/2016)
sorry i was asked by someone ,, just how you can sort an nonclustered index..i told i can use order by clause,,but it is not correct answer..
Sorry, but that...
March 23, 2016 at 11:59 am
When posting the execution plan, please post the plan, not just a picture of it. Capture an actual plan, right-click and choose save as, then attach the .sqlplan file that...
March 23, 2016 at 11:01 am
mceventphoto (3/23/2016)
Thanks for the feedback. The values represent six working days (days of the month) and are initially stored in a table. This can be sorted. A report is...
March 23, 2016 at 10:30 am
Without CREATE TABLE statements for the tables and INSERT statements for sample data, and with no posted exact required output, you are leaving a lot to the imagination.
However, if I...
March 23, 2016 at 9:03 am
New persopn (3/23/2016)
March 23, 2016 at 8:57 am
PJ_SQL (3/23/2016)
Thanks but how would it spread data from the 1st file which is 2 TB to second file created?
When multiple files are in the same filegroup, SQL Server will...
March 23, 2016 at 8:51 am
Viewing 15 posts - 601 through 615 (of 3,348 total)