Welcome To Snipplr


Everyone's Recent Snippets Tagged sql



1 ... 7 8 9 10 11 ... 17
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 1698 posted 14 years ago by emregulcan
My Drop Column.sql This template drops a columns of the table.
0 722 posted 14 years ago by edwinet
My Add Column Varchar.sql This template adds a new varchar column to the table.
0 802 posted 14 years ago by edwinet
0 697 posted 14 years ago by Waldio
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 793 posted 14 years ago by ezerick
0 724 posted 14 years ago by kendsnyder
4 1191 posted 14 years ago by takel
the following code can be used to create a table with a dynamic name
0 894 posted 14 years ago by gtaking
0 829 posted 14 years ago by jaredyeo
Doesn't do any validation, you would want to check if a
0 1903 posted 14 years ago by brettville
0 1137 posted 14 years ago by batamire
1 798 posted 14 years ago by samwa
This SQL query will find all the SlideDeck related entries in your WordPress database.
0 794 posted 14 years ago by Jamie
Search SQL Server field names and stored procedure text, based on a keyword.
1 1152 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 689 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 1153 posted 14 years ago by Onfire60
Get table schema with columns via sql.
0 783 posted 14 years ago by djmornyc
1 860 posted 14 years ago by samwa
1 973 posted 14 years ago by samwa
0 878 posted 14 years ago by Waldio
1 762 posted 14 years ago by titosemi
1 706 posted 14 years ago by titosemi
How to Export Data From SQL Server to Microsoft Excel Datasheet
0 1157 posted 14 years ago by derebus
Truncates a DateTime value.
0 614 posted 14 years ago by cdicarlo
1 715 posted 14 years ago by brandonroath
0 870 posted 14 years ago by metoikos
1 ... 7 8 9 10 11 ... 17