Viewing 15 posts - 916 through 930 (of 1,654 total)
Rajan John (4/25/2008)
Is there a way we can allocate space for a table beforehand with zero records in the table?
Don't think so.
And even if there's an option of doing...
[font="Verdana"]Markus Bohse[/font]
April 25, 2008 at 7:08 am
Did you check if the database is in Full recovery mode?
[font="Verdana"]Markus Bohse[/font]
April 25, 2008 at 6:58 am
No, that's not possible. Each instance must have it's own Cluster group.
[font="Verdana"]Markus Bohse[/font]
April 25, 2008 at 6:57 am
The most simple option would be using LIKE
SELECT myvarcharCol from mytable
WHERE myvarcharCol LIKE '%project%'
Another option would be using the PATINDEX function
SELECT myvarcharCol from mytable
WHERE PATINDEX('project',myvarcharCol) > 0
[font="Verdana"]Markus Bohse[/font]
April 25, 2008 at 4:56 am
The bak file only contains the data pages which are used. But when you restore it, the mdf and the ldf file are recreated with the size they had at...
[font="Verdana"]Markus Bohse[/font]
April 25, 2008 at 4:51 am
You can't use like but you can use the InSTR function instead. Just like Patindex in SQL it returns an integer if a string is found in another string.
Something like...
[font="Verdana"]Markus Bohse[/font]
April 25, 2008 at 4:06 am
Carolyn is right. In otrder to change the server collation you need to re-run setup from the command line with the following options
start setup.exe /qn INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=
But...
[font="Verdana"]Markus Bohse[/font]
April 24, 2008 at 4:03 am
Restoring the database on the mirror server with the norecovery option is right. Your error message points to a network connectivity issue. Of course lot's of possible reasons for this,...
[font="Verdana"]Markus Bohse[/font]
April 22, 2008 at 1:04 am
What do you mean by "configure security"?
Once you restored the backup to the mirror server with norecovery, you can start the mirror session from your principal.
The only security...
[font="Verdana"]Markus Bohse[/font]
April 21, 2008 at 3:44 am
If you just want a list of column names you can use FMTONLY
SET FMTONLY ON;
GO
SELECT *
FROM MyTable
go
SET FMTONLY OFF;
[font="Verdana"]Markus Bohse[/font]
April 21, 2008 at 3:38 am
You can create a trigger on the syscategories table in msdb, which logs all the changes.
[font="Verdana"]Markus Bohse[/font]
April 21, 2008 at 3:36 am
Personally I'm not a friend of the various Kill process scripts you can find on the web.
I prefer to set the database in single user mode before starting the...
[font="Verdana"]Markus Bohse[/font]
April 18, 2008 at 6:51 am
About the maintenance plans not running.
First of all you should install SP2 because maintenance plans on the RTM version had quite a lot of bugs.
Second maintenace plans make use of...
[font="Verdana"]Markus Bohse[/font]
April 11, 2008 at 3:22 am
Check if you mdf file is read-only. If the primary data file being attached is read-only, the Database Engine assumes that the database is read-only.
I'm also curious which OS...
[font="Verdana"]Markus Bohse[/font]
April 9, 2008 at 4:07 am
Sorry can't test your version now, but my original formular works on grouped data as well.
All you have to do is in the layout window in VS apply the...
[font="Verdana"]Markus Bohse[/font]
April 9, 2008 at 12:53 am
Viewing 15 posts - 916 through 930 (of 1,654 total)