Viewing 15 posts - 1,906 through 1,920 (of 6,486 total)
Keep in mind that 2005 introduced into the SQL Native client the ability to have encrypted communications between client and server (simply go into the connection OPtions screen before connecting...
March 26, 2009 at 2:20 pm
Steve Jones - Editor (3/26/2009)
blandry (3/26/2009)
What we need are much more stringent legal avenues to meet this problem. This is just the sad reality of it.
Here, here....
March 26, 2009 at 9:59 am
In the spirit of teaching you how to fish - here is a great article on conatenation options:
http://www.sqlservercentral.com/articles/Test+Data/61572/%5B/url%5D
Similary - here's the CLR sample aggregate I was mentioning:
March 25, 2009 at 12:48 pm
Keep in mind as well that conceptually, higher normalization = greater flexibility and lower normalization = less flexibility. So as part of your redesign you need to consider (specifically...
March 25, 2009 at 10:40 am
You want to look up custom AGGREGATE functions in 2005's BOL. The CLR sample provided is a concatenation function.
In order to use a function in the PIVOT, it needs...
March 25, 2009 at 10:33 am
In case you don't know which link to go check out - here's Jeff Moden's "tips and tricks" article on various creative ways yo use a Tally table:
http://www.sqlservercentral.com/articles/TSQL/62867/%5B/url%5D
The last example...
March 24, 2009 at 3:14 pm
Sounds to me that you might want to investigate the conditional split options whic may give you the flexibility you need. In other words - split the process into...
March 24, 2009 at 2:39 pm
Then Alvin is on the right track - you're not looking for a UNION statement at all.
A "UNION" essentially combines the rows from each query into a single query. ...
March 17, 2009 at 11:43 am
Is there a specific question? I suspect you're getting a truncation error, but it would be nice to know what the question actually is....
March 17, 2009 at 11:36 am
Don't NAME it "identity" - MAKE it an identity column. If you're using the UI - look in the properties of the column (identity specification section).
March 17, 2009 at 10:14 am
Try this instead then. The 0x001a refers to an ASCII code, represented in binary, so - convert it to INT first, then convert it to a character.
CONVERT(varchar(max),(SELECT Replace(Replace(TIUDocumentReportText,char(CAST(0x0020 as...
March 17, 2009 at 10:10 am
The documentation is correct - just very hard to read. Lynn - the [,...n] you saw is under the ADD and DROP sections, and not the ALTER.
That being said...
March 17, 2009 at 10:03 am
Try using NVarchar instead. I suspect you will get better results.
March 17, 2009 at 9:43 am
Unless I completely misread what you're asking for - there IS no need to use a cursor. You do have to acucmulate the "values you want to pass...
March 13, 2009 at 3:18 pm
Generically - break this into 2 parts:
1. write the SELECT statement that does the PIVOT correctly.
2. once 1. outputs correctly - wrap the statement from one into a derived...
March 13, 2009 at 12:17 pm
Viewing 15 posts - 1,906 through 1,920 (of 6,486 total)