Viewing 15 posts - 46 through 60 (of 280 total)
Good question, I had it in my head that CROSS APPLY acted like an INNER JOIN and OUTER APPLY acted like an OUTER JOIN, but in fact the CROSS apply...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 6, 2012 at 5:03 am
There's a feature matrix here, although you may have already seen it:
http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).aspx
Don't trust software resellers, I've bought from them more than once and had to spend literally hours arguing over...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 10:02 am
You need encryption: http://technet.microsoft.com/en-us/library/bb510663.aspx
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 9:59 am
Sean - SELECT state FROM state.state.state.state WHERE state = @state ORDER BY state;
Could be perfectly valid :ermm: (even if it should be a sackable offence) and reminds me a little...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 9:33 am
Test on dev first please.
For trailing spaces only:
UPDATE [state]
SET [state] = RTRIM([state])
By the way, the name 'state' is an awful word to use for a table name, as it's reserved.
I've...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 8:59 am
Just tested my hypothesis that string functions take significantly longer to parse, and can't see a significant difference.
10,000 rows of non-unique data with repeating patterns of ' '...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 8:54 am
Please could you post your table definition, as I don't know what your table looks like. Thanks.
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 8:48 am
One solution for leading and trailing spaces is to use the LTRIM / RTRIM functions i.e.
SELECT LTRIM(RTRIM(state)) FROM dbo.states
However I've read before that this can lead to performance issues, since...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 8:38 am
Could be...
1) Lack of explicit SET DATEFORMAT xyz in the stored procedure.
2) Implicit convert of string 'yyyy-mm-dd hh:mm:ss' in your adhoc run isn't being treated the same in the SP.
3)...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 8:34 am
Assuming a structure, at its simplest, as:
CREATE TABLE table1 (id INT, a INT)
CREATE TABLE table2 (id INT, b INT)
INSERT INTO table1
SELECT 1,1 UNION SELECT 2,2 UNION...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 8:25 am
1000-1200 concurrent users doing what? I'm afraid there is no way to answer this question. You need to go back to your boss and find out a LOT...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 5:20 am
If I had the limitations of Express, then personally I would use the CDO SMTP methods of VBScript, called using CScript (Windows Scripting Host), based on the successful / failed...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 5:07 am
Don't underestimate the exam, and having taken it myself I can recommend you brush up on ALL your core basics. Although it's the 'entry' exam to the eventual MCITP...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 4:53 am
Surely just remove the WITH (NOLOCK) hints in your stored procedure?
Or am I missing something?
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 5, 2012 at 3:10 am
In the example given, outputTable is a permanent table.
You could use a table variable or a local/global temporary table if that would suit you, providing you know the outputs of...
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
September 4, 2012 at 11:07 am
Viewing 15 posts - 46 through 60 (of 280 total)