Viewing 15 posts - 6,601 through 6,615 (of 8,761 total)
Further on John Corkett's post, the [COLUMN SET] bridges the gap between a normal table and an EAV type table. Standard set based approach can be used on the database...
November 12, 2014 at 2:36 am
Another question, is this a default or a named instance?
😎
November 11, 2014 at 12:10 pm
Tony Webster (11/11/2014)
CREATE PROC testproc
AS
SELECT 123
-- CONVERT(varchar)
GO
which on one particular server gives:
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionCheckForData...
November 11, 2014 at 10:56 am
lizamungro (11/11/2014)
November 11, 2014 at 10:01 am
BWFC (11/11/2014)
Stuart Davies (11/11/2014)
BWFC (11/11/2014)
November 11, 2014 at 2:20 am
Quick note, as LinksUp noted, the parentheses do not match, there is an extra opening one before the first instance of T0.DiscPrcnt. To prevent/detect this kind of errors, I find...
November 10, 2014 at 10:51 pm
chandrachamarthi8 (11/10/2014)
The specified schema name "coustmer" either does not exist or you do not have permission to use it.
i got this error ..any...
November 10, 2014 at 2:10 pm
SQL_dummy-431245 (11/10/2014)
WOW!!!You are the best!!
Goes without saying:-D
Thank you very very much!!!!
Glad to help, just realize that this is a limited solution, only single digit joining between the different nodes, will...
November 10, 2014 at 12:32 pm
Stuart Davies (11/10/2014)
Sadly I'm not getting the same sort of luck all I've had is the attached
Some guys have all the luck.....:-D
😎
November 10, 2014 at 5:16 am
Quick note, this xml structure doesn't make things easier;-)
😎
Here is an example that should get you passed this hurdle
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @TXML XML = N'<Status><IdStatus>1</IdStatus>
<NomStatus>Status 1</NomStatus>
<IdStatus>2</IdStatus>
<NomStatus>Status 2</NomStatus>
<IdStatus>3</IdStatus>
<NomStatus>Status 3</NomStatus>
</Status>
<Process>
<IdProcess>1</IdProcess>
<NomProcess>Process...
November 10, 2014 at 4:30 am
debanjan.ray (11/9/2014)
We are storing changed data of tables into XML format for auditing purpose. The functionality is already achieved. We are using FOR XML Path clause to convert...
November 10, 2014 at 12:01 am
Jeff Moden (11/9/2014)
November 9, 2014 at 10:44 pm
Quick thought, what happens if you script the view (modify/script as ALTER) and run the script unchanged?
😎
November 9, 2014 at 10:32 pm
First a quick question, what are you trying to achieve with this?
😎
You can use the DATALENGTH function on any datatype, here is a quick example:
DECLARE @SQL_STR VARCHAR(MAX) = '
-- Returns...
November 9, 2014 at 10:14 pm
tswalton (11/9/2014)
I'm editing an existing application. The dynamic SQL exists already, I just needed to tweak it a bit.
Guessed it would be something along those lines, just hope you are...
November 9, 2014 at 12:07 pm
Viewing 15 posts - 6,601 through 6,615 (of 8,761 total)