What's a 'pervasive database'? - database

I'm sorry, but this keyword doesn't mean anything to me... Can someone give me a definition?
Thanks in advance...

It's a brand. http://pervasive.com/ And here is a link to their DB products http://www.pervasivedb.com/Pages/PDBProducts.aspx including Pervasive PSQL

Do you mean Pervasive PSQL?

eDeveloper and previous versions of Magic (4GL) use this database as default.

Related

Dose TDengine support black quote(``) in identifier?

Dose TDengine support black quote in identifier like mysql?
Besides, if there is a ` in a identifier,how can i use?
yes, I tried black quote in table name, it works.

What does the started keyword do in MSSQL?

I have created a table that has a column with the name started of type datetime. I was very surprised to see this turn blue when I copied my select statement into management studio. When looking at the list of reserved words for SQL in the Microsoft documentation (see here), I cannot find the word started.
What is it? What does it do?
A very old SSMS problem.
I'm afraid M$ doesn't care about some tokens treated as keywords.
See this.
I don't think so. There is no keyword exist with the name started.
I was able to create table
SQLFiddle Demo

Are these 'Table Hints' SQL Server

Not quite sure what these are to be honest. I am looking at someone else's SQL query and they have SELECT statements which look like this:
SELECT
Something,
Something
FROM
MyTable(DEFAULT, DEFAULT, DEFAULT)
And Another which looks like this:
SELECT
Something,
Something
FROM
MyTable(NULL)
Christ, when I do a SELECT statement, I only put the table name there and that's it.
Could someone please tell me what the (DEFAULT, DEFAULT, DEFAULT) would be used for? and also the (NULL) - I'm sure there are many more of these once I know what they are.
My apologies if this is a duplicate question, but I couldn't seem to find an answer anywhere.
Thanks!
Mike
It appears that MyTable(DEFAULT, DEFAULT, DEFAULT) is a table-valued function call. This function has three parameters, and all these parameters should take default values.
In Management Studio, Look under Programmability->Functions->Table-valued Functions. There you will see the definition of the function.

Index creation strategy in SQL Server 2008 R2

I have a foreign key (IdForign), and always use it in where clause.
I have three fields:
Id
Name
IdForign
How can i create the index for the Name field?
(IdForign, Name) or just one for IdForign and other for Name?
Thanks!!
If I undertand correctly your question, you need to create an Index only for IdForign, because it's the one you use in the where
UPDATE
As per your comment, if you are using both fields I suggest you to use an index with Name and IdForign
Read this. It should give you some tips on indexing with Sql Server
The basic systax, which it seems is all you are asking for is:
CREATE INDEX yourIndexName ON yourTableName (yourFieldName);
This is also assuming you mean Microsoft SQL Server. See here for the MSDN documentation.
I hope this helps.

When creating a new table how do I change the default column definition in SQL Server 2008?

When creating a new table in SSMS - right click on the "Tables" node, choose "New Table..." - the default definition for a new column is nchar(10).
Can I change that? Let's say I would like the default column definition to be varchar(5) whenever someone creates a new table.
I can't find any sort of option to change that, I'm thinking maybe it's a registry setting?
In the Registry:
Path - HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell\DataProject
Name - SSVDefaultColumnType
Also look at SSVDefault*Length (e.g. SSVDefaultCharLength) to set the length.
All caveats about changing the registry apply.
Thanks for that. One small thing: when there have been multiple installationss/ versions of SSMS installed, it's necessary to ensure that they right versions of the keys are changed.
Seems obvious, but I got caught out.
You can't. Actually, you can: see Darryl Peterson's answer
To be honest, you're quicker to use CREATE TABLE in a query windows and type it all manually. You pick the syntax up quick enough.
To start, you could look at View..Template Explorer. There is a "Create Table" template.

Resources