Friday, October 17, 2008

Were To Get Cheap Metal Core Wheels

date format in XML

To avoid losing this information here is the official W3C date format

  '-' ?  yyyy '-'   mm '-' dd   'T'   hh ':' mm   ':' ss   (  '.' S   +  ) ?  (  zzzzzz) ? 


This is the official website

http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html # dateTime

Saturday, June 28, 2008

Home Brazilian Wax Charlotte Nc

SVN repositories

This is a summary of what I wanted in recent months about the repository and versioning tools. Between CSV and SVN SVN I preferred simply because there are more software tools and more Internet repositories (CVS I have not found a single one).
So I installed TortoiseSVN on the local and the Subversion server, but I found more sites that provide services to SVN server. Here's what I found:

www.codeplex.com/ and code.google.com /

these require a license or similar open GL.
The only one I found that allows you to save their projects without a license is open GL www.assembla.com/

Monday, April 28, 2008

Pinky Adult Film Star.com

Enable broker

Here is the script to enable the broker on a SQL server

declare @ DatabaseName nvarchar ( 1000)
set @ DatabaseName = 'MyDatabase'

if ((select from is_broker_enabled sys.databases WHERE name = @ DatabaseName) = 0) begin

SysProc DECLARE CURSOR LOCAL FORWARD_ONLY READ_ONLY FOR DYNAMIC
SELECT spid
FROM master.dbo.sysprocesses
WHERE dbid =
(SELECT dbid FROM master.dbo.sysdatabases
WHERE name = @DatabaseName)
DECLARE @SysProcId smallint
OPEN SysProc --kill all the processes running against the database
FETCH NEXT FROM SysProc INTO @SysProcId
DECLARE @KillStatement char(30)
WHILE @@FETCH_STATUS = 0
BEGIN
SET @KillStatement = 'KILL ' + CAST(@SysProcId AS char(30))
EXEC (@KillStatement)
FETCH NEXT FROM SysProc INTO @SysProcId
END
WAITFOR DELAY '000:00:01' ALTER DATABASE
IBCMS_bookingManager September ENABLE_BROKER
end



And this is what you need to disable it:

declare @ DatabaseName nvarchar (1000)
set @ DatabaseName = 'MyDatabase'

if ((select is_broker_enabled from sys.databases WHERE name = @ DatabaseName) = 1)

begin print @ DatabaseName + 'has enabled broker. Start disabling process ....'
print 'Initial status of' + @ DatabaseName + ':' + convert (nvarchar (max), DATABASEPROPERTYEX (@ DatabaseName, 'Status')) + '...'

/*
exec('Alter database '+ @DatabaseName +' set offline')
select DATABASEPROPERTYEX(@DatabaseName, 'Status')
exec('Alter database '+ @DatabaseName +' set online')
select DATABASEPROPERTYEX(@DatabaseName, 'Status')
*/

DECLARE SysProc CURSOR LOCAL FORWARD_ONLY DYNAMIC READ_ONLY FOR
SELECT spid
FROM master.dbo.sysprocesses
WHERE dbid =
(SELECT dbid FROM master.dbo.sysdatabases
WHERE name = @DatabaseName)
DECLARE @SysProcId smallint
OPEN SysProc --kill all the processes running against the database
FETCH NEXT FROM SysProc INTO @SysProcId
DECLARE @KillStatement char(30)
WHILE @@FETCH_STATUS = 0
BEGIN
SET @KillStatement = 'KILL ' + CAST(@SysProcId AS char(30))
EXEC (@KillStatement)
FETCH NEXT FROM SysProc INTO @SysProcId
END
WAITFOR DELAY '000: 00:01 '
ALTER DATABASE IBCMS_BookingManager September DISABLE_BROKER
print' Now '+ @ DatabaseName +' broker has disabled '

end

else print @ DatabaseName + 'Already broker has disabled'

Wednesday, April 23, 2008

Ovarian Cancer Condition_symptoms

put on a database offline using a database sql script

Often you have to put a database offline (for maintenance, for example).
Maybe you should run this from your code.
Here we find solace in T-SQL. The instructions are two fundamental


DATABASEPROPERTYEX (@ DatabaseName, 'Status')


need to see what state the database is: between the various results is ONLINE and OFFLINE (self-explanatory);

Alter Database offline in September Miodio

and this is to change the status.

For more info refer to the 'MSDN

Wednesday, April 9, 2008

What Is Bronchitis More Condition_symptoms

Abstract Control

The designer of Visual Studio.NET (I'm working with 2005) has difficulty working on graphics when a control is derived from an abstract class (which in turn derives from UserControl).
In these cases give up to have the abstract class and transform all the properties and methods into something abstract by default (the methods that allow voids are created).

Thursday, March 13, 2008

Trichomoniasis More Condition_treatment

CASE - WHEN WITH

I This operator discovered that I had not yet met:
select name, type

CASE WHEN 1 THEN 'private customer'
WHEN 2 THEN 'public customer'
WHEN 3 THEN 'reseller'
ELSE 'unknown' END

from

Wedding Seating Chart Project

in SQL in SQL How

often in a SQL query you need a result to be used for various operations. Instead of always
recalculate all the results whenever you can use this form:
WITH TempTable (id, name) as

(
select userid, username from users WHERE
Affilizazione < @data
)

select * from TempTable.
....
....

This function is very powerful because it reduces the processing time of the script.
Remember that WITH or GO should be preceded by a semicolon before WITH (';') if there is another query.