DataBase

SqlServer Cash Dependencies

Posted on 10/04/2011. Filed under: Sqlserver2008 |

Using SQL Cache Dependencies This is the C# tutorial (Switch to the Visual Basic tutorial) The simplest caching strategy is to allow cached data to expire after a specified period of time. But this simple approach means that the cached data maintains no association with its underlying data source, resulting in stale data that is held [...]

Read Full Post | Make a Comment ( None so far )

using Functions

Posted on 09/03/2011. Filed under: Sql Server, Sqlserver2008 |

/*This fuction we use it almost with lookup table to return the name it takes two parameters first one display the table and the second one  display the id that we want to return its related name*/   USE    [databaseName] GO   SET   /****** Object: UserDefinedFunction [dbo].[GetName] **/  ANSI_NULLS ONGO   SET  QUOTED_IDENTIFIER   [...]

Read Full Post | Make a Comment ( None so far )

Oracle create a sequence

Posted on 04/11/2010. Filed under: Oracle |

CREATE SEQUENCE supplier_seq     MINVALUE 1     MAXVALUE 999999999999999999999999999     START WITH 1     INCREMENT BY 1     CACHE 20; http://psoug.org/reference/sequences.html

Read Full Post | Make a Comment ( None so far )

Oracle (Create sequence)

Posted on 30/06/2010. Filed under: DataBase |

CREATE SEQUENCE supplier_seq     MINVALUE 1     MAXVALUE 999999999999999999999999999     START WITH 1     INCREMENT BY 1     CACHE 20; http://psoug.org/reference/sequences.html

Read Full Post | Make a Comment ( None so far )

Rename A column name in sql query (Oracle VS Sqlserver)

Posted on 30/06/2010. Filed under: DataBase |

Oracle (select studentName as “Student Name” ) SqlServer (select studentName as [Student Name])

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...

Follow

Get every new post delivered to your Inbox.