Viewing 15 posts - 661 through 675 (of 902 total)
Regardless of SQL version I tend to use a 20% rule of thumb for the initial logfile size based on the Sum size of the datafiles, and with a proper...
October 11, 2012 at 2:38 am
hillerz19 (10/10/2012)
Hi Sean Lange,This is my coding so far but allot of errors:
ALTER TABLE ServiceTable
ALTER COLUMN serviceCode char(4) NOT NULL,
ALTER TABLE CaseTable
DROP CONSTRAINT serviceCodeValues,
ALTER TABLE CaseTable
ALTER serviceCode DROP DEFAULT,
Firstly on...
October 11, 2012 at 2:28 am
In a merge statement it generates an $action which is either Insert, Delete, Update as well as being able to get the Inserted, Deleted data.
Eg
MERGE tblCustomer AS target
USING (SELECT *...
October 10, 2012 at 9:08 am
I always get the Partition and Order by the wrong way round, so even when I get them the right way round I second guess myself and reverse them.
This isnt...
October 10, 2012 at 9:04 am
Can we have some sample data, as we dont know what it looks like.
As the requested output looks like a numerical increment based on the position in the set.
October 10, 2012 at 8:28 am
Its not really counting distinct, so what I though you're looking to do is something like
Select
State
,City
ROW_NUMBER() OVER(Order by City PARTITION BY State)
From [dbo].[MySalesDataTableAggregatedMonthly]
Where State is NOT NULL and City...
October 10, 2012 at 8:19 am
khushbu (10/9/2012)
Wonder...
October 10, 2012 at 2:20 am
You'll just get the standard OLAP version of SSAS.
October 9, 2012 at 9:03 am
In 2012 SSAS come in two versions, the first is the standard OLAP variety that has been in place since SQL2005. The second is the Tabular model, that is...
October 9, 2012 at 8:32 am
Eugene Elutin (10/9/2012)
Jason-299789 (10/9/2012)
October 9, 2012 at 4:41 am
Gazareth (10/9/2012)
Jason-299789 (10/9/2012)
Gazareth (10/9/2012)
terry999 (10/2/2012)
illegal?Hmm, yeah. Was wondering that myself!
I think that Joe was probably refering to some form of regulatory requirement, eg Sarbanes Oxley/solvency II or other federal requirement...
October 9, 2012 at 4:16 am
Fair enough Eugine, I agree its an important caveat but does that mean unless you keep an open transaction on the table it will disappear once the transaction is closed...
October 9, 2012 at 4:06 am
Gazareth (10/9/2012)
terry999 (10/2/2012)
illegal?Hmm, yeah. Was wondering that myself!
I think that Joe was probably refering to some form of regulatory requirement, eg Sarbanes Oxley/solvency II or other federal requirement to maintain...
October 9, 2012 at 3:54 am
yuvipoy (10/9/2012)
## is a Global temporary tables
Local Temp table is valid only for that processor id(@@SPID) alone where as Global Temp table is valid across...
October 9, 2012 at 3:16 am
Viewing 15 posts - 661 through 675 (of 902 total)