Showing posts with label based. Show all posts
Showing posts with label based. Show all posts

Friday, March 30, 2012

Is there a system generated row id in SQL Server 2000?

Hi,
I wanted to perform a select and a delete of a row based on a system generat
ed row id (like what Oracle has). However after researching this issue I've
found that there is no equivalent of Oracle Rowid in SQL Server.
I know I can generate my own row numbers using identity columns and then pro
cess the results but I was curious to know whether or not SQL Server actuall
y had a system generated row id. My thinking was that each row has to have a
row id because otherwise h
ow will b-tree indexes work (especially on non unique columns)?
Documentation doesn't really give out much information on what the Row struc
ture looks like in SQL Server (or at least I haven't been able to find it) n
ot have I found information on exactly what does a row pointer looks like in
a B-Tree index leaf page.
Can anyone suggest a source of information on the above? Also, if there is a
system generated row id in SQL Server, is any way at all of accessing it?hi;
am not a SQL expert here, but i think there is a datatype call IDENTITY that
auto generate an sequencing row number. that cld be what u need.
amnyone can verify ?
"SJ" <anonymous@.discussions.microsoft.com> wrote in message
news:1196BF60-EF0E-4E47-853F-18E79C95279E@.microsoft.com...
> Hi,
> I wanted to perform a select and a delete of a row based on a system
generated row id (like what Oracle has). However after researching this
issue I've found that there is no equivalent of Oracle Rowid in SQL Server.
> I know I can generate my own row numbers using identity columns and then
process the results but I was curious to know whether or not SQL Server
actually had a system generated row id. My thinking was that each row has to
have a row id because otherwise how will b-tree indexes work (especially on
non unique columns)?
> Documentation doesn't really give out much information on what the Row
structure looks like in SQL Server (or at least I haven't been able to find
it) not have I found information on exactly what does a row pointer looks
like in a B-Tree index leaf page.
> Can anyone suggest a source of information on the above? Also, if there is
a system generated row id in SQL Server, is any way at all of accessing it?|||You will have to generate your own rowid... SQL does not expose one ( as
some other DBMS's do.)
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"SJ" <anonymous@.discussions.microsoft.com> wrote in message
news:1196BF60-EF0E-4E47-853F-18E79C95279E@.microsoft.com...
> Hi,
> I wanted to perform a select and a delete of a row based on a system
generated row id (like what Oracle has). However after researching this
issue I've found that there is no equivalent of Oracle Rowid in SQL Server.
> I know I can generate my own row numbers using identity columns and then
process the results but I was curious to know whether or not SQL Server
actually had a system generated row id. My thinking was that each row has to
have a row id because otherwise how will b-tree indexes work (especially on
non unique columns)?
> Documentation doesn't really give out much information on what the Row
structure looks like in SQL Server (or at least I haven't been able to find
it) not have I found information on exactly what does a row pointer looks
like in a B-Tree index leaf page.
> Can anyone suggest a source of information on the above? Also, if there is
a system generated row id in SQL Server, is any way at all of accessing it?|||Yes I think the keywords here are "sql does not expose one". I have been sus
pecting that although there may be a system generated row id, it wouldn't be
accesible to external users.|||To the best of my knowledge there really isn't one.
I don't worry about internal page strcutures all that much, so I could be
wrong. I'm sure Kalen's book Inside SQL Server 2000 would have a lot of
great info on this topic if you're really interested.
But to the best of my knowledge, internal id's are based on both page number
and row offset (or a row number) on that specific page. I do not believe
there is an internal ID that is unique across a table space. The short
answer is that it doesn't matter since there definitely isn't one exposed.
But I don't think one even exists...
Brian Moran
Principal Mentor
Solid Quality Learning
SQL Server MVP
http://www.solidqualitylearning.com
"SJ" <anonymous@.discussions.microsoft.com> wrote in message
news:56E22894-9ACE-4654-B93B-7E375D21A367@.microsoft.com...
> Yes I think the keywords here are "sql does not expose one". I have been
suspecting that although there may be a system generated row id, it wouldn't
be accesible to external users.|||Brian is correct - there is no exposed unique RID for a row.
There are two types of RIDs we use internally, physical and logical.
Physical RIDs are F:P:S, where F is the file ID, P is the page number in the
file and S is the slot number on the page. These are only used for locating
heap rows from non-clustered indexes over heaps (i.e. each row in a
non-clustered index over a heap contains the physical RID of the
corresponding row in the heap itself). Physical RIDs are not exposed,
although you will see them sometimes in DBCC CHECK* error messages.
Logical RIDs are the keys of the index the row belongs too. Each row in a
non-clustered index has a logical RID. Each row in a non-clustered index
over a clustered index also contains the logical RID of the corresponding
row in the clustered index).
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Brian Moran" <brian@.solidqualitylearning.com> wrote in message
news:eSCl$8zEEHA.2404@.TK2MSFTNGP11.phx.gbl...
> To the best of my knowledge there really isn't one.
> I don't worry about internal page strcutures all that much, so I could be
> wrong. I'm sure Kalen's book Inside SQL Server 2000 would have a lot of
> great info on this topic if you're really interested.
> But to the best of my knowledge, internal id's are based on both page
number
> and row offset (or a row number) on that specific page. I do not believe
> there is an internal ID that is unique across a table space. The short
> answer is that it doesn't matter since there definitely isn't one exposed.
> But I don't think one even exists...
> --
> Brian Moran
> Principal Mentor
> Solid Quality Learning
> SQL Server MVP
> http://www.solidqualitylearning.com
>
> "SJ" <anonymous@.discussions.microsoft.com> wrote in message
> news:56E22894-9ACE-4654-B93B-7E375D21A367@.microsoft.com...
> suspecting that although there may be a system generated row id, it
wouldn't
> be accesible to external users.
>|||Thank you all for you responses.|||The only thing I would add is the reason that SQL Server doesn't expose row
ids. Systems that expose row ids require more offline and manual
maintenance than systems that don't expose row ids. That's because systems
that expose row ids can't just move rows around without breaking
applications. Systems that don't expose row ids can dynamically reorganize
data at any time since no user will ever request the data by rowid.
First generation systems such as Rdb and Oracle exposed rowids, second
generation systems such as Tandem and Sybase saw the errors in this and did
not expose them. Of course once exposed it's almost impossible to take away
the feature, so Oracle still has it.
Hal Berenson, SQL Server MVP
VP, Yukon Readiness
Scalability Experts, Inc.
"Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
news:uyL9fz3EEHA.1456@.TK2MSFTNGP09.phx.gbl...
> Brian is correct - there is no exposed unique RID for a row.
> There are two types of RIDs we use internally, physical and logical.
> Physical RIDs are F:P:S, where F is the file ID, P is the page number in
the
> file and S is the slot number on the page. These are only used for
locating
> heap rows from non-clustered indexes over heaps (i.e. each row in a
> non-clustered index over a heap contains the physical RID of the
> corresponding row in the heap itself). Physical RIDs are not exposed,
> although you will see them sometimes in DBCC CHECK* error messages.
> Logical RIDs are the keys of the index the row belongs too. Each row in a
> non-clustered index has a logical RID. Each row in a non-clustered index
> over a clustered index also contains the logical RID of the corresponding
> row in the clustered index).
> Regards.
> --
> Paul Randal
> Dev Lead, Microsoft SQL Server Storage Engine
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> "Brian Moran" <brian@.solidqualitylearning.com> wrote in message
> news:eSCl$8zEEHA.2404@.TK2MSFTNGP11.phx.gbl...
be
> number
exposed.
been
> wouldn't
>

Is there a set based solution?

basically I am trying to figure out if there is a set based solution for the following situation.

When we import mainframe data to the sql server the table will look like this

PartNumber release demandQty BalOnHandQty ShortQty
A 1 10 23 0
A 2 5 23 0
A 3 13 23 0
A 4 2 23 0
A 5 12 23 0
B 1 11 14 0
B 2 7 14 0
B 3 20 14 0
B 4 6 14 0



After we run the query the table should look like ie amotize the balonhandqty and update the shortqty.

PartNumber release demandQty BalOnHandQty ShortQty
A 1 10 13 0
A 2 5 8 0
A 3 13 -5 5
A 4 2 -7 2
A 5 12 -19 12
B 1 11 3 0
B 2 7 -4 4
B 3 20 -24 20
B 4 6 -30 6

The only way I can up with a solution is by using a cursor which takes a long time. I was wondering if there is a set based or any other quicker solution.Whoever comes up with the answer deserves to be called a Guru...or a Grand Poobah :)

But out of curiosity, can you give us the formula? If nothing else you'll get a kick out of looking at how people can attempt to resolve this.|||update tbl
set BalOnHandQty = BalOnHandQty - (select sum(demandQty) from tbl t2 where t1.PartNumber = t2.PartNumber and t2.Release <= t1.Release) ,
ShortQty = case when BalOnHandQty - (select sum(demandQty) from tbl t2 where t1.PartNumber = t2.PartNumber and t2.Release <= t1.Release) < 0 then
BalOnHandQty - (select sum(demandQty) from tbl t2 where t1.PartNumber = t2.PartNumber and t2.Release <= t1.Release) * -1 else 0 end
from tbl t1

maybe better is

update tbl
set BalOnHandQty = a.BalOnHandQty ,
ShortQty = case when a.BalOnHandQty < 0 then a.BalOnHandQty * -1 else 0 end
from
tbl t1
join
(select PartNumber, Release, BalOnHandQty = BalOnHandQty - (select sum(demandQty) from tbl t2 where t1.PartNumber = t2.PartNumber and t2.Release <= t1.Release)
from tbl t1) a
on a.PartNumber = t1.PartNumber
and a.Release = t1.Release|||Heck, I don't know that solving this problem is such a complicated task, but I give Kudos to Nigelrivett if he was able to figure out what the problem was based on the sparse information provided! Now THAT takes genious.

There is definitely a career for you in helpdesk support if you ever want it, Nigelrivett! ;)

blindman|||Originally posted by rdjabarov
Whoever comes up with the answer deserves to be called a Guru...or a Grand Poobah :)

But out of curiosity, can you give us the formula? If nothing else you'll get a kick out of looking at how people can attempt to resolve this.

Initially all the records for each partnumber will have the same BalOnHandQty. Then we get start subtracting demandQty from BalOnHandQty for each release for every partnumber. When the BalOnHandQty goes negative we update the shortQty.

I hope everybody can understand the problem!

I'am sorry I should have given more information when I first posted this problem.|||Heck, I don't know that solving this problem is such a complicated task
I didn't see you taking a shot at it!

nigelrivett, - that was quick! I just don't get it why the blind guy thinks you're good only for helpdesk support?|||Bit concerned about the design though.
This updates every balance so that it cannot be run twice.
It would probably be better if the rec with the lowest release (or maybe a new release 0 with the balance and demand qty 0) held the beginning balance and everything worked off that. Then you could run the update multiple times and get the same result.|||nigelrivett thanks for your replies. Iam not that good at set based stuff I am still trying to understand your queries. Once I get back to work I will try to run these queries on some test data and may then I can understand it better.|||rjabberon,

niggelrivett's solution is very simple and concise. That's what makes it good. "Inside every large program there is a small program screaming to get out." From what I've seen of your solutions, you'd do well to take heed.

From what I could see, the challenge in this issue lay in uncovering the requirements. That's pretty common in many I.T. projects, as you'll find out.

And by the way, the word for the day is "sarcasm". It's a light-hearted form of humor. Look it up: www.dictionary.com

blindman|||Originally posted by blindman
rjabberon,


Obviously is recalling a nick name more difficult than understanding the problem. Or was it sarcasm? Anyway, I bed you came up with the solution if niggelrivett (bravo!) wasn't quicker than you!|||Thanks for support, DoktorBlue! The blind guy is obviously not only blind, but also a stuck-up arrogant AH (I looked all this up following your link, bm). And I also like this phrase that I found there more and more (in fact, with every post of yours that is intended to insult me), - BLOW ME!|||Originally posted by blindman
rjabberon,

...From what I could see, the challenge in this issue lay in uncovering the requirements. That's pretty common in many I.T. projects, as you'll find out.
blindman

How many of those "I.T." projects have you participated, and how many have you actually pulled through yourself, and how many of those did you manage not to bring to a complete total disaster?
Originally posted by blindman
And by the way, the word for the day is "sarcasm". It's a light-hearted form of humor. Look it up: www.dictionary.com

blindman

"sarcasm" is not a "light-hearted form of humor". Check your own link...but since you're too busy fixing your "brilliant" solutions, I'll give you the right definition here:

www.dictionary.com (http://dictionary.reference.com/search?q=sarcasm)
A cutting, often ironic remark intended to wound.
A form of wit that is marked by the use of sarcastic language and is intended to make its victim the butt of contempt or ridicule.

Hypothetical (http://dictionary.reference.com/search?q=Hypothetical) - a word for the day for you.|||Originally posted by nigelrivett
Bit concerned about the design though.
This updates every balance so that it cannot be run twice.
It would probably be better if the rec with the lowest release (or maybe a new release 0 with the balance and demand qty 0) held the beginning balance and everything worked off that. Then you could run the update multiple times and get the same result.

Thanks a lot nigelrivett!

Your update query works great and is much quicker than my cursor based solution.

Wednesday, March 21, 2012

Is the Certificate based authentication the only way ?

1.On an virtual server two virtual machines of Windows 2003+sql server 2005 developer edition named VM1 and VM2

2.The VMs are not on a domain.

3.endpoint uses windows authentication

I get the following error

Msg 1418, Level 16, State 1, Line 1
The server network address "TCP://x.x.x.x:5022" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational.

and the log file contains the following

07/26/2007 19:21:22,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]
07/26/2007 19:21:19,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]
07/26/2007 19:21:17,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]
07/26/2007 19:21:14,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]
07/26/2007 19:21:12,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]
07/26/2007 19:21:10,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]
07/26/2007 19:21:09,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]
07/26/2007 19:21:08,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]
07/26/2007 19:21:06,spid25s,Unknown,Database mirroring connection error 5 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.' for 'TCP://x.x.x.x:5022'.
07/26/2007 19:21:06,spid25s,Unknown,Error: 1474<c/> Severity: 16<c/> State: 1.
07/26/2007 19:21:06,Logon,Unknown,Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030e) 0x8009030e(No credentials are available in the security package). State 65.'. [CLIENT: x.x.x.x]

Is there anyway i can do mirroring without certificates,

guys any pointers?

i think the partners namely principal and mirror server shud have either standard or enterprise edition to configure mirroring..........but the error seems to be different........just check the ports using the command netstat -ano whether the port you specify is used somewhere........also try to give the fully qualified server name.........

|||

1. Developer edition supports

2.The specified port is not being used

3.Since the macine is not on a domain i cannot give the fully qualified path alternatively i have used ip.

|||

I don't know if this will make you feel better or not but let me tell you that I as well was looking into setting up mirroring with all sorts of tricks not to use certificate authentication.

But trust me, for 2 computers not in the same domain this is the best way. It saves you a lot of trouble with permissions and all sorts of *** errors.

Do it using transact sql commands following microsoft example and it will work! I got mine up and running ever since.

|||

I had the same error even after bringing the servers under a single domain.

The following is the change I made

Changed the Authentication type from Kerbrose to NTLM.

It all works fine when servers are under same domain.

Need to check when the servers are not under a Domain.

|||partners need to be either std or enterprise edition...refer,
http://msdn2.microsoft.com/en-us/library/ms366349.aspx

Monday, March 12, 2012

Is SQL Server supported in a VMWare environment

I have looked all over the MS site and can find very little information regarding SQL Server's support for the VMWare environment. Based on other information that I have obtained on other forums and web-site it looks like it is not supported by Microsoft, but I would like the company line if possible.
Does any one know for sure and can point me to a URL? Thanks.
SQL Server is not supported running under VMWare.

-Euan
Euan Garden
Group Program Manager
SQL Server|||Not much resource out there for that. And MS doesn't support for that either. However SQL server running on VMWare environment. Even V-motion works great on our environment.

Sunny|||Euan,
Do you have any links to Microsoft documentation I can pass on to a project manager? I have been told that we will be using x445 with vmware to install our dev, stage, and production SQL instances on.
Thanks,

John|||We don't explitly call out VMWare but it is not listed as a supported platform in any of the docs.|||Is there an update to this thread or is this the same view Microsoft has today, 09/2006?|||

Not quite sure if this was answered. But no change. Here is the link to MS stand:

http://www.support.microsoft.com/kb/897615

It is in complete competition with their product Virtual Server 2003/2005

Is SQL Server supported in a VMWare environment

I have looked all over the MS site and can find very little information regarding SQL Server's support for the VMWare environment. Based on other information that I have obtained on other forums and web-site it looks like it is not supported by Microsoft, but I would like the company line if possible.
Does any one know for sure and can point me to a URL? Thanks.
SQL Server is not supported running under VMWare.

-Euan
Euan Garden
Group Program Manager
SQL Server|||Not much resource out there for that. And MS doesn't support for that either. However SQL server running on VMWare environment. Even V-motion works great on our environment.

Sunny|||Euan,
Do you have any links to Microsoft documentation I can pass on to a project manager? I have been told that we will be using x445 with vmware to install our dev, stage, and production SQL instances on.
Thanks,

John|||We don't explitly call out VMWare but it is not listed as a supported platform in any of the docs.|||Is there an update to this thread or is this the same view Microsoft has today, 09/2006?|||

Not quite sure if this was answered. But no change. Here is the link to MS stand:

http://www.support.microsoft.com/kb/897615

It is in complete competition with their product Virtual Server 2003/2005

Is SQL Server supported in a VMWare environment

I have looked all over the MS site and can find very little information regarding SQL Server's support for the VMWare environment. Based on other information that I have obtained on other forums and web-site it looks like it is not supported by Microsoft, but I would like the company line if possible.
Does any one know for sure and can point me to a URL? Thanks.
SQL Server is not supported running under VMWare.

-Euan
Euan Garden
Group Program Manager
SQL Server|||Not much resource out there for that. And MS doesn't support for that either. However SQL server running on VMWare environment. Even V-motion works great on our environment.

Sunny|||Euan,
Do you have any links to Microsoft documentation I can pass on to a project manager? I have been told that we will be using x445 with vmware to install our dev, stage, and production SQL instances on.
Thanks,

John|||We don't explitly call out VMWare but it is not listed as a supported platform in any of the docs.|||Is there an update to this thread or is this the same view Microsoft has today, 09/2006?|||

Not quite sure if this was answered. But no change. Here is the link to MS stand:

http://www.support.microsoft.com/kb/897615

It is in complete competition with their product Virtual Server 2003/2005

Friday, March 9, 2012

is sql 2005 based on imdb (in-memory database)?

Hi guys, i need a page at microsoft that says it, it's for a technical
proposal, until now i've just found oracle's timesten, i've searched at
google and microsoft but i have not results about.
Also i need to know if it supports journaling.
Regards.
I guess we would need to see the definitions of "in memory database" (that can mean a lot of things)
and journaling. If you mean what I think you mean, then the answer is no on both questions.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rick" <elmargaro@.hotmail.com> wrote in message news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
> Hi guys, i need a page at microsoft that says it, it's for a technical proposal, until now i've
> just found oracle's timesten, i've searched at google and microsoft but i have not results about.
> Also i need to know if it supports journaling.
> Regards.
>
|||Rick wrote:
> Hi guys, i need a page at microsoft that says it, it's for a technical
> proposal, until now i've just found oracle's timesten, i've searched at
> google and microsoft but i have not results about.
> Also i need to know if it supports journaling.
> Regards.
What feature are you looking for? SQL Server does cache data
"in-memory" but if you are looking for a deployable database engine or
one for embeddable systems then look at SQL Server Express or Mobile
Edition
"Journaling" could mean Differential or Transaction Log backups or
Versioning or Snapshots in SQL Server - depends on what your definition
of Journaling is.
SQL Server 2005 Features Comparison:
http://www.microsoft.com/sql/prodinf...-features.mspx
David Portas, SQL Server MVP
Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.
SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
|||ok, well journaling is logging all transactions, and if SQL has it then is
ok
Definition of: in-memory database
A database that keeps all active records in main memory rather than on disk.
Accessing in-memory records is considerably faster than retrieving them from
the disk.
"Rick" <elmargaro@.hotmail.com> escribi en el mensaje
news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
> Hi guys, i need a page at microsoft that says it, it's for a technical
> proposal, until now i've just found oracle's timesten, i've searched at
> google and microsoft but i have not results about.
> Also i need to know if it supports journaling.
> Regards.
>
|||Yes, SQL Server logs all modifications in the transaction log.
SQL Server has a fairly sophisticated cache handling mechanism, but it essentially means that hot
pages will be cached (in memory).
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rick" <elmargaro@.hotmail.com> wrote in message news:uURgArGTGHA.4920@.tk2msftngp13.phx.gbl...
> ok, well journaling is logging all transactions, and if SQL has it then is ok
> Definition of: in-memory database
> A database that keeps all active records in main memory rather than on disk. Accessing in-memory
> records is considerably faster than retrieving them from the disk.
>
> "Rick" <elmargaro@.hotmail.com> escribi en el mensaje
> news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
>
|||Thanks a lot!!!
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> escribi
en el mensaje news:%235f7kPLTGHA.1572@.tk2msftngp13.phx.gbl...
> Yes, SQL Server logs all modifications in the transaction log.
> SQL Server has a fairly sophisticated cache handling mechanism, but it
> essentially means that hot pages will be cached (in memory).
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Rick" <elmargaro@.hotmail.com> wrote in message
> news:uURgArGTGHA.4920@.tk2msftngp13.phx.gbl...
>

is sql 2005 based on imdb (in-memory database)?

Hi guys, i need a page at microsoft that says it, it's for a technical
proposal, until now i've just found oracle's timesten, i've searched at
google and microsoft but i have not results about.
Also i need to know if it supports journaling.
Regards.I guess we would need to see the definitions of "in memory database" (that c
an mean a lot of things)
and journaling. If you mean what I think you mean, then the answer is no on
both questions.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rick" <elmargaro@.hotmail.com> wrote in message news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl..
.
> Hi guys, i need a page at microsoft that says it, it's for a technical pro
posal, until now i've
> just found oracle's timesten, i've searched at google and microsoft but i
have not results about.
> Also i need to know if it supports journaling.
> Regards.
>|||Rick wrote:
> Hi guys, i need a page at microsoft that says it, it's for a technical
> proposal, until now i've just found oracle's timesten, i've searched at
> google and microsoft but i have not results about.
> Also i need to know if it supports journaling.
> Regards.
What feature are you looking for? SQL Server does cache data
"in-memory" but if you are looking for a deployable database engine or
one for embeddable systems then look at SQL Server Express or Mobile
Edition
"Journaling" could mean Differential or Transaction Log backups or
Versioning or Snapshots in SQL Server - depends on what your definition
of Journaling is.
SQL Server 2005 Features Comparison:
http://www.microsoft.com/sql/prodin...e-features.mspx
David Portas, SQL Server MVP
Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.
SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--|||ok, well journaling is logging all transactions, and if SQL has it then is
ok
Definition of: in-memory database
A database that keeps all active records in main memory rather than on disk.
Accessing in-memory records is considerably faster than retrieving them from
the disk.
"Rick" <elmargaro@.hotmail.com> escribi en el mensaje
news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
> Hi guys, i need a page at microsoft that says it, it's for a technical
> proposal, until now i've just found oracle's timesten, i've searched at
> google and microsoft but i have not results about.
> Also i need to know if it supports journaling.
> Regards.
>|||Yes, SQL Server logs all modifications in the transaction log.
SQL Server has a fairly sophisticated cache handling mechanism, but it essen
tially means that hot
pages will be cached (in memory).
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rick" <elmargaro@.hotmail.com> wrote in message news:uURgArGTGHA.4920@.tk2msftngp13.phx.gbl..
.
> ok, well journaling is logging all transactions, and if SQL has it then is
ok
> Definition of: in-memory database
> A database that keeps all active records in main memory rather than on dis
k. Accessing in-memory
> records is considerably faster than retrieving them from the disk.
>
> "Rick" <elmargaro@.hotmail.com> escribi en el mensaje
> news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
>|||Thanks a lot!!!
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> escribi
en el mensaje news:%235f7kPLTGHA.1572@.tk2msftngp13.phx.gbl...
> Yes, SQL Server logs all modifications in the transaction log.
> SQL Server has a fairly sophisticated cache handling mechanism, but it
> essentially means that hot pages will be cached (in memory).
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Rick" <elmargaro@.hotmail.com> wrote in message
> news:uURgArGTGHA.4920@.tk2msftngp13.phx.gbl...
>

is sql 2005 based on imdb (in-memory database)?

Hi guys, i need a page at microsoft that says it, it's for a technical
proposal, until now i've just found oracle's timesten, i've searched at
google and microsoft but i have not results about.
Also i need to know if it supports journaling.
Regards.I guess we would need to see the definitions of "in memory database" (that can mean a lot of things)
and journaling. If you mean what I think you mean, then the answer is no on both questions.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rick" <elmargaro@.hotmail.com> wrote in message news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
> Hi guys, i need a page at microsoft that says it, it's for a technical proposal, until now i've
> just found oracle's timesten, i've searched at google and microsoft but i have not results about.
> Also i need to know if it supports journaling.
> Regards.
>|||Rick wrote:
> Hi guys, i need a page at microsoft that says it, it's for a technical
> proposal, until now i've just found oracle's timesten, i've searched at
> google and microsoft but i have not results about.
> Also i need to know if it supports journaling.
> Regards.
What feature are you looking for? SQL Server does cache data
"in-memory" but if you are looking for a deployable database engine or
one for embeddable systems then look at SQL Server Express or Mobile
Edition
"Journaling" could mean Differential or Transaction Log backups or
Versioning or Snapshots in SQL Server - depends on what your definition
of Journaling is.
SQL Server 2005 Features Comparison:
http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx
--
David Portas, SQL Server MVP
Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.
SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--|||ok, well journaling is logging all transactions, and if SQL has it then is
ok
Definition of: in-memory database
A database that keeps all active records in main memory rather than on disk.
Accessing in-memory records is considerably faster than retrieving them from
the disk.
"Rick" <elmargaro@.hotmail.com> escribió en el mensaje
news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
> Hi guys, i need a page at microsoft that says it, it's for a technical
> proposal, until now i've just found oracle's timesten, i've searched at
> google and microsoft but i have not results about.
> Also i need to know if it supports journaling.
> Regards.
>|||Yes, SQL Server logs all modifications in the transaction log.
SQL Server has a fairly sophisticated cache handling mechanism, but it essentially means that hot
pages will be cached (in memory).
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rick" <elmargaro@.hotmail.com> wrote in message news:uURgArGTGHA.4920@.tk2msftngp13.phx.gbl...
> ok, well journaling is logging all transactions, and if SQL has it then is ok
> Definition of: in-memory database
> A database that keeps all active records in main memory rather than on disk. Accessing in-memory
> records is considerably faster than retrieving them from the disk.
>
> "Rick" <elmargaro@.hotmail.com> escribió en el mensaje
> news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
>> Hi guys, i need a page at microsoft that says it, it's for a technical proposal, until now i've
>> just found oracle's timesten, i've searched at google and microsoft but i have not results about.
>> Also i need to know if it supports journaling.
>> Regards.
>|||Thanks a lot!!!
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> escribió
en el mensaje news:%235f7kPLTGHA.1572@.tk2msftngp13.phx.gbl...
> Yes, SQL Server logs all modifications in the transaction log.
> SQL Server has a fairly sophisticated cache handling mechanism, but it
> essentially means that hot pages will be cached (in memory).
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Rick" <elmargaro@.hotmail.com> wrote in message
> news:uURgArGTGHA.4920@.tk2msftngp13.phx.gbl...
>> ok, well journaling is logging all transactions, and if SQL has it then
>> is ok
>> Definition of: in-memory database
>> A database that keeps all active records in main memory rather than on
>> disk. Accessing in-memory records is considerably faster than retrieving
>> them from the disk.
>>
>> "Rick" <elmargaro@.hotmail.com> escribió en el mensaje
>> news:uJsRs1ETGHA.5156@.TK2MSFTNGP10.phx.gbl...
>> Hi guys, i need a page at microsoft that says it, it's for a technical
>> proposal, until now i've just found oracle's timesten, i've searched at
>> google and microsoft but i have not results about.
>> Also i need to know if it supports journaling.
>> Regards.
>>
>

Friday, February 24, 2012

Is possible to create dynamic reports based on cubes?

Hi,

I would like to know if is possible to create dynamic reports based on cubes. What i mean is,after creating a cube with a couple of dimensions and measure if is there any way to give the normal users on the report manager or report builder the freedom to choose their own dimensions/measure so they can output the report with the choosen criteria.

Thanks.

I thought you could do that with report builder, but I never use that feature anyway... One thing you can do is have users connect to the cube via Excel. In excel 2003, go to Data->Import External Data->New Database Query. Then, they can drag and drop cube dimensions and measures into an excel style pivot table. It is very easy to use. I've heard the excel 2007 version has more features so you may look at that. -Joe
|||

It's almost imposible to achieve it directly in SSRS. I would recommend Proclarity, Excel 2007, Excel 2003 or other 3rd party products (Business Objects Voyager). Report Builder may be used as well, just the result is always limited to the chosen layout, parameters - simply the report content cannot be changed.

J.

|||

I have done my question before it was given me permissions for a connection to generate model in report manager and after sort out that issue and opening report builder i could open the data source related with cube. But now i have other situation that i need to confirm: Why the hierarchies created on the cubes and many of the attributes arent present on the model?Is any workaround that can be done?

In the meantime i tried to connect to the cube from the excel(the version installed is 2002) and i dont have the information about the data source on the OLAP Cube option even if i tried to create a new server and connect to the server. Any idea?

Thanks.