Welcome To Snipplr
Everyone's Recent Snippets Tagged sql
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
You can see details on http://msdn.microsoft.com/en-us/library/ms178592.aspx , but I try to explain how you throw error with "uniqueidentifier" type parameters.
I convert uniqueidentifier to string (nvarchar(50)) and set a variable.
"%s" is equal...
0
1661
posted 14 years ago by emregulcan
My Add Column Varchar.sql
This template adds a new varchar column to the table.
0
767
posted 14 years ago by edwinet
Field1 + Field2 + Field3 should create 1 entry for each unique row in the DB. In an employee table, this would be FirstName + LastName + EmployeeNumber
1
759
posted 14 years ago by ezerick
the following code can be used to create a table with a dynamic name
0
847
posted 14 years ago by gtaking
This SQL query will find all the SlideDeck related entries in your WordPress database.
0
759
posted 14 years ago by Jamie
Search SQL Server field names and stored procedure text, based on a keyword.
1
1108
posted 14 years ago by axs221
Today I need Trim() function in sql, but in Sql 2005 there is no function. Because of that I wrote this user (scalar) fuction.
It's very basic;
-First; it's Right Trim (RTrim()) string
- And then Left Trim (LTrim())
0
665
posted 14 years ago by emregulcan
Used the first sql statement to find your menu item. (Replace menu-% with the name of your menu eg. "primary-links" .
Then using the menu item id fix the items you want to regain the good old delete button on the menu item.
0
1114
posted 14 years ago by Onfire60
How to Export Data From SQL Server to Microsoft Excel Datasheet
0
1119
posted 14 years ago by derebus