Viewing 15 posts - 1,081 through 1,095 (of 1,655 total)
A .sql file is a sql script which in your case probably is used to create the database.
You can open it with a SQL Server client like Management Studio or...
November 7, 2007 at 3:44 am
Peter Larsson (11/7/2007)
NVARCHAR is still 4000 bytes due to being double byte character sting (unicode).
Sorry Peter to correct you but nvarchar too is 8000 bytes, but the length is limited...
November 7, 2007 at 2:51 am
Since you don't want to use maintenance plans I assume you use your own scripts. To define the retention period just use the RETAINDAYS option.
Something like:
BACKUP DATABASE pubs TO DISK='C:\Backup\pub.bak'...
November 7, 2007 at 2:20 am
Could you explain a bit more what you mean by security level?
IF you're looking at db_roles, they are the same.
On server level some new permissions are introduced, mainly to...
November 7, 2007 at 2:16 am
Where do you get this information from?
This little test shows that a variable can hold more than 4K
DECLARE @var char(8000)
SET @var = (SELECT REPLICATE('Test',2000))
SELECT @var
Markus
November 7, 2007 at 2:07 am
Operating system error 5 means either the path does not exist, a file with the same name already exists or access is denied. So check the path and the filename...
November 7, 2007 at 2:00 am
No,
Datareader only has Select permission on all tables and views.
Unfortunately there's no such role as ExecuteAll, you have to create your own db_role.
November 1, 2007 at 3:59 am
What kind of scripts are you talking about?
How do you execute them?
Are they containg hardcoded servernames or what exactly is your problem?
Of course when you use a different...
November 1, 2007 at 3:07 am
A Login is a server object has no Schema. Only a database user has a default schema.
SO
Create Login user1 with password = '123xTYU'
--Creates a login, but no database access
USE...
November 1, 2007 at 2:49 am
Stephan,
NO you can't do an in-place upgrade from 32-bit to 64.What you can do is install a 64- bit instance next to your existing 32-bit instance and then dettach the...
November 1, 2007 at 2:30 am
In SQL 2000:
In the Serverproperties enable Login auditing for succesfull logins (or all). Then all logins will be to logged and you can query the SQL Errorlogs.
Under SQL2005 with SP2...
October 31, 2007 at 9:00 am
Would this be what you're looking for ?
select ROUND(ROUND(277760/12*31,0)/10000,0)*100
October 31, 2007 at 7:59 am
Not really sure what is going on but you're right the datalength function should return the actual bytelength.
But you also mention the use of merge replication. I'm know for...
October 31, 2007 at 4:38 am
Sorry, I don't have a ready made script but if you query msdb.. backupset and msdb..nbackupfile you can find all the information you need.
October 31, 2007 at 3:56 am
Sounds like your column(s) is defined as a nvarchar which takes two bytes of storage for each character.
Markus
October 31, 2007 at 3:47 am
Viewing 15 posts - 1,081 through 1,095 (of 1,655 total)