How to Share Data Between Stored Procedures
http://www.sommarskog.se/share_data.html
A must read.
AWS, data engineering, sql server, talend, postgres, business intelligence, car diy, photography
SELECT @@spid
Use masterGrant access to the user you just created
sp_addlogin 'test', 'password', 'Northwind'
SELECT sid FROM dbo.sysxlogins WHERE name = 'test'
0xE5EFF2DB1688C246855B013148882E75
Use Northwind
sp_grantdbaccess 'test'
SELECT sid FROM dbo.sysusers WHERE name = 'test'
0xE5EFF2DB1688C246855B013148882E75
Use master
BACKUP DATABASE Northwind
TO DISK = 'C:\Northwind.bak'
RESTORE FILELISTONLY
FROM DISK = 'C:\Users\Zahn\Work\Northwind.bak'
Northwind
Northwind_log
RESTORE DATABASE TestDB
FROM DISK = 'C:\Users\Zahn\Work\Northwind.bak'
WITH
MOVE 'Northwind' TO 'D:\DataMSSQL\Data\northwnd.mdf',
MOVE 'Northwind_log' TO 'D:\DataMSSQL\Data\northwnd.ldf'
Use master
SELECT sid FROM dbo.sysxlogins WHERE name = 'test'
0x39EE98D37EAC2243B7833705EC1C60E3
Use TestDB
SELECT sid FROM dbo.sysusers WHERE name ='test'
0xE5EFF2DB1688C246855B013148882E75
Use TestDB
sp_change_users_login 'report'
test 0xE5EFF2DB1688C246855B013148882E75
Use TestDB
sp_change_users_login 'update_one', 'test', 'test'
SELECT sid FROM dbo.sysusers WHERE name = 'test'
0x39EE98D37EAC2243B7833705EC1C60E3
use master
SELECT sid FROM dbo.sysxlogins WHERE name ='test'
0x39EE98D37EAC2243B7833705EC1C60E3
UPDATE - still having issues with usb installation - resorting to:
http://www.intowindows.com/how-to-install-windows-7vista-from-usb-drive-detailed-100-working-guide/
xcopy c:\ d:\ /h/i/c/k/e/r/y
From my SKODA service Manual
Models with FIXED SERVICE INTERVALS (QG0)
The readout "OIL" will appear in the display after resetting the indicator "INSP", and releasing the reset button when both service intervals (INSP and OIL) were reached together.
Models with EXTENDED SERVICE INTERVALS (QG1 and QG2)
All counters will be reset to 0.
Castol's "What's the right oil for my car?"
The CASTROL.COM website, has a handy function that lets you check what specification oil is ideal or recommended for your motor.
My Skoda Fabia vRS needs the following VW PD 505.01 or higher CASTROL oil specification (Castol EDGE)
The various Castrol Magnatec oil range details can be found here.
It's that time of year again, where I have to get the service parts in – usually from EuroCarParts, and Ebay.
To my surprise, when I was looking for some PD (Pumpe-Düse) engine oil, EuroCarParts had a site error (well, that's what I hope it is...)
Yep – that's right, £1,993.48.
Cheap as Chips.
Anyway – onto something more relevant.
The specification of oil needed for various PD engines, has been politely referred to in a forum thread on the ever helpful SeatCupra.net.
The link to the thread is here.
However – to summaries:
TD / SDI / TDI diesel | 505 00 / 505 01 / 506 01/ 507 00 |
TDI P.D.: | 505 01 / 506 01 / 507 00 |
TDI-PD (1.9l BPX and BUK) diesel | 506 01 / 507 00 |
TDI with particle filter | 507 00 |
My particular car – as the ASZ engine code, and should run fine with 505.01 specification or higher.
After a manic three day training for the ITIL Foundation Level course, I've passed with 82% pass mark, and here's my certificate !
Wahoo
1949: An "energy map" provided by the US National Oceanic and Atmospheric Administration (NOAA) shows the intensity of the tsunami caused by the earthquake which struck Japan.
To check and purchase your vehicle tax disc online, visit the following link:
http://www.taxdisc.direct.gov.uk/EvlPortalApp/
You'll need either
OR
To check for the existence of an MOT on a vehicle, you can check online via the link below:
http://www.direct.gov.uk/en/Motoring/OwningAVehicle/Mot/DG_10020539
Removing and installing gas struts on your car is often a quick and simple job which does not require a mechanic.
If your gas struts have a ball and socket fittings then the only tools required are flat blade screwdriver and someone to hold the boot for you.
Look at the end of the gas strut for a rectangular plastic block with a metal band running around the back.
Some struts use metal fittings but the band will be in a similar position.
Replacing car tailgate struts is a two person job.
Do not remove one strut and rely on the other to hold the tailgate.
Pin Type Ball Sockets
If your gas struts have a dome end fitting with a small metal pin -
Model: Skoda Fabia Hatchback Gas Strut
Body: Hatchback
Year: 1999 - 2007
Part#: 6Y0827550A 7969MW
http://www.tailgatestruts.com/gsc2142-skoda-fabia-tailgate-strut
Other suppliers: SGS Engineering £13.99
Care of David Poole of SQLServerCentral: http://www.sqlservercentral.com/articles/Documentation/72473/
RAISERROR ( 'DATA DICTIONARY: %i tables & %i fields added', 10, 1,
@TableCount, @FieldCount ) WITH NOWAIT
The "10" parameter is the SEVERITY of the error message raised.
10 : this is more of a notice message, or minor alert
16 : this is reserved for true error messages
You can find more via:
http://www.sqlservercentral.com/articles/SQL+Puzzles/quickhintsforusingtheraiserrorcommand/2114/
http://msdn.microsoft.com/en-us/library/ms178592.aspx