Search columns in SQL Server 2005 database

Rédigé par Sozezzo - - Aucun commentaire

-- Since SQL Server 2005 Management Studio lacks the Object Search feature, here is the simple query to find any column in a database

Select O.name objectName, C.name ColumnName
from sys.columns C inner join sys.objects O
ON C.object_id=O.object_id
where C.name like ‘%ColumntoFind%’order by O.name,C.name

-- This query works for SQL Server 20005. Just replace “ColumnToFind” with your required column name.

SELECT
OBJECT_NAME(c.OBJECT_ID) TableName
,c.name AS ColumnName
,SCHEMA_NAME(t.schema_id) AS SchemaName
,t.name AS TypeName
,t.is_user_defined
,t.is_assembly_type
,c.max_length
,c.PRECISION
,c.scale
FROM sys.columns AS c
JOIN sys.types AS t ON c.user_type_id=t.user_type_id
where
C.name like '%ColumntoFind%'
ORDER BY c.OBJECT_ID;


-- Site d'origine : Pinal Dave ( http://blog.SQLAuthority.com/ )
-- Site d'origine : http://blog.namwarrizvi.com/

How to connect to a Wireless WIFI Network from the Command line in Windows 7

Rédigé par Sozezzo - - Aucun commentaire

For the humorless amongst you who didn't find these Updated for 2011 - McDonald's WiFi Guide with updates for Mac OS X Lion and Windows 7 to be HIGH-LARIOUS, the question was asked, "well, sir, how do you connect to a Wireless WIFI Network from the Command line in Windows 7?"

The answer, is, ahem, thusly:

C:\>netsh wlan connect name=HANSELMAN-N

Connection request was completed successfully.

 

netsh wlan connect name=Brossard ssid=Brossard interface="Wireless Network Connection"
> Connection request was completed successfully.

 

 

Show key code (run as admintrator):

netsh wlan show profile name=SSID key=clear

>Cool.

 

Site d'origine : http://www.hanselman.com/blog/HowToConnectToAWirelessWIFINetworkFromTheCommandLineInWindows7.aspx

Lire la suite de How to connect to a Wireless WIFI Network from the Command line in Windows 7

«Tu» et «vous» expliqués aux Américains

Rédigé par Sozezzo - - Aucun commentaire

C’est pourtant simple ! Il faut tutoyer Dieu, mais vouvoyer son patron – à moins que l’on travaille à « Le Google ». On lance le « vous » aux personnes que l’on ne connaît pas, mais on dit « tu » à son conjoint… sauf si votre mari est l’ancien président français Jacques Chirac !

 

Site d'origine : http://www.lactualite.com/blogues/le-fouineur/tu-et-vous-expliques-aux-americains/

Lire la suite de «Tu» et «vous» expliqués aux Américains

how to redirect page to https in php?

Rédigé par Sozezzo - - Aucun commentaire

Site d'origine : http://stackoverflow.com/questions/9135290/how-to-redirect-page-to-https-in-php

 


Ajouter aux fichier : index.php

# Add to redirect to HTTPS
if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == "" || $_SERVER['HTTPS'] == "off"){
    $redirect = "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    header("Location: $redirect");
    exit;
}

Lire la suite de how to redirect page to https in php?

RemoteIE : Exécuter IE sur Android, iOS et OS X

Rédigé par Sozezzo - - Aucun commentaire

It's Web Proxy too.


Site d'origine : http://www.blog-nouvelles-technologies.fr/56917/remoteie-microsoft-permet-dexecuter-ie-sur-android-ios-et-os-x/


https://remote.modern.ie/subscribe


Lire la suite de RemoteIE : Exécuter IE sur Android, iOS et OS X

Fil RSS des articles