Viewing 15 posts - 8,596 through 8,610 (of 8,760 total)
wolle78 (4/9/2014)
The Database is in simple recovery mode.
The transaction is still logged, everything that happens between begin tran and commit tran must be logged, regardless whether it is an implicit...
April 9, 2014 at 1:50 am
wolle78 (4/9/2014)
Error 9002, Severity 17 state 4.The transaction log for database 'X' is based on 'ACTIVE_TRANSACTION' full.
There are no other transactions on the server. What can I do?
Increase the...
April 9, 2014 at 1:40 am
Slightly twisted but works 😎
CREATE TABLE #ColumnNames
(
ItemNumber INT,
ItemValue VARCHAR(200)
)
CREATE TABLE #ColumnValues
(
ItemNumber INT,
ItemValue VARCHAR(500)
)
CREATE TABLE #XML
(
XMLDocument XML
)
INSERT INTO #XML (XMLDocument) VALUES ('<properties>
<Prop1>ABC</Prop1>
<Prop2>1</Prop2>
<Prop3>2014-01-01</Prop3>
<Prop4>52.12</Prop4>
</properties>')
INSERT INTO...
April 8, 2014 at 11:18 pm
Would be nice to have some information on the enhancements from 110 to 120.
😎
April 8, 2014 at 1:50 pm
Sean Lange (4/8/2014)
Eirikur Eiriksson (4/8/2014)
hisakimatama (4/8/2014)
April 8, 2014 at 1:22 pm
Check "Jorgensen, Adam; Wort, Steven; LoForte, Ross; Knight, Brian (2012-03-28). Professional Microsoft SQL Server 2012 Administration"
😎
April 8, 2014 at 12:51 pm
hisakimatama (4/8/2014)
April 8, 2014 at 12:28 pm
Luis Cazares (4/8/2014)
Eirikur Eiriksson (4/8/2014)
You should look into linked server, check this out😎
It could help in other cases, but I'm not sure that it's the best option if you're trying...
April 8, 2014 at 12:18 pm
You should look into linked server, check this out
😎
April 8, 2014 at 11:53 am
hisakimatama (4/8/2014)
EDIT: Doh, forgot the closing parenthesis.
The parenthesis where the problem, a CTE does not require the columnar declaration.
😎
April 8, 2014 at 11:41 am
Abu Dina (4/8/2014)
SELECT @@VERSION gives me back:Adaptive Server Enterprise/15.5/EBF
I thought these function are not part of ASE?!
IQ and Anywhere yes, ASE (to my knowledge) no.
😎
April 8, 2014 at 10:30 am
Sybase has supported RANK with the OVER clause for some time, which version are you using?
Try this out, should work 😎
cREATE TABLE #SampleData (ID INT, Tran_Date DATETIME, Ref VARCHAR(10) NULL)
INSERT...
April 8, 2014 at 10:05 am
Using the row_number function
😎
cREATE TABLE #SampleData (ID INT, Tran_Date DATETIME, Ref VARCHAR(10) NULL)
INSERT INTO #SampleData(ID, Tran_Date, Ref)
SELECT 1, '2013-01-15', NULL UNION ALL
SELECT 1, '2012-04-10', 'Kames' UNION ALL
SELECT 1, '2013-10-05', 'Adjustment'...
April 8, 2014 at 9:16 am
This function will bring back the last number only portion of the string
😎
CREATE FUNCTION dbo.udf_GetNumEEric
(
@strAlphaNumeric VARCHAR(256)
)
RETURNS TABLE
AS
RETURN
WITH NBR1(N) AS (SELECT NM.N FROM (VALUES (1),(1),(1),(1),(1),(1),(1),(1),(1),(1)) AS...
April 8, 2014 at 6:55 am
Russel Loski (4/8/2014)
You can use the where or put the query into your XQuery (I don't know which is more efficient):
Not much of a difference for an untyped xml, typed...
April 8, 2014 at 4:55 am
Viewing 15 posts - 8,596 through 8,610 (of 8,760 total)