bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
wichtig: bios bootdevice muß harddisk sein => boot von hd einstellen und bootmenu aufrufen um dann von install disk zu booten, dann obige commandos ausführen
win server braucht keine extra partition
bcdboot c:\windows /s c: ... kopiert boot files von c:\windows\Boot auf C:\Boot
wenn HyperV nicht automatisch startet:
bcdedit /set hypervisorlaunchtype Auto
meine Sys/Db admin & Developper Notitzen - wer Rechtschreibfehler findet darf sie behalten ... my Sys/Db Admin and developper notes - I don't care about typos
Thursday, August 28, 2014
Wednesday, August 27, 2014
windows server 2012 Disk management
Server Manager unterstützt scheinbar keine MBR Initialisation, daher:
power shell: Initialize-Disk 4 –PartitionStyle MBR
Thursday, August 21, 2014
TSQL if then
--simplest / einfach
if 1=1 Print 'Ja-Yes' else print 'nein-no'
--one begin End block
if 1=0
Begin
Print 'Ja-Yes'
End
else print 'nein-no'
--two ifs
if 1=0
Begin
Print '1:Ja-Yes'
End
else if 1=1 print '1:nein-no, 2:ja-yes' else print '1:nein-no, 2:nein-no'
Friday, August 08, 2014
vs2008 ssrs: Filter in "test1,test2,test3" not working in preview
the in clause is not working in preview, but on reportserver: I have a sharepoint datasource, and a dataset, which I filter in a table with th IN clause - doesn't display any matches, but when I deploy it is working
Sunday, August 03, 2014
einfache / simple cte (common table expression)
with cte as (
select Year(GETDATE())*10000+MONTH(GetDate())*100+DAY(GetDate()) as intDate
)
select * from cte
Friday, August 01, 2014
ssrs display subreport without data / Unterbericht ohne Daten anzeigen
ein Unterbericht ohne Daten wird nicht angezeigt (wenn alle Datasets in diesem Report keine Zeilen haben, wird allerdings als eigenständiger Bericht angezeigt) => um ihn dennoch anzeigen einfach ein Dummy Dataset mit select 'dummy' as dummy einfügen, das hat immer eine Zeile und damit wird der Subreport angezeigt.
a subreport with all datasets having 0 rows isn't displayed (although as normal report is displayed) => add a dummy dataset which always returns a row to display (e.g. select 'dummy' as dummy )
ssrs gauge aggregate function report item
error / fehler:
The value expression for the gauge panel 'GaugePanel1' uses an aggregate function on a report item. Aggregate functions can be used only on report items contained in page headers and footers.
solution / lösung: change Indicator Properties / Values and States / States Measurement Unit from percentage to numeric
in Indicator Properties / Values and States / States Measurement Unit von Prozent auf numerisch ändern
The value expression for the gauge panel 'GaugePanel1' uses an aggregate function on a report item. Aggregate functions can be used only on report items contained in page headers and footers.
solution / lösung: change Indicator Properties / Values and States / States Measurement Unit from percentage to numeric
in Indicator Properties / Values and States / States Measurement Unit von Prozent auf numerisch ändern
Subscribe to:
Posts (Atom)