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 1318 posted 13 years ago by emregulcan
My Drop Column.sql This template drops a columns of the table.
0 482 posted 13 years ago by edwinet
My Add Column Varchar.sql This template adds a new varchar column to the table.
0 564 posted 13 years ago by edwinet
0 451 posted 13 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 541 posted 13 years ago by ezerick
0 506 posted 13 years ago by kendsnyder
4 855 posted 13 years ago by takel
the following code can be used to create a table with a dynamic name
0 632 posted 13 years ago by gtaking
0 601 posted 13 years ago by jaredyeo
Doesn't do any validation, you would want to check if a
0 1522 posted 13 years ago by brettville
0 822 posted 13 years ago by batamire
1 580 posted 13 years ago by samwa
This SQL query will find all the SlideDeck related entries in your WordPress database.
0 563 posted 13 years ago by Jamie
Search SQL Server field names and stored procedure text, based on a keyword.
1 853 posted 13 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 447 posted 13 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 866 posted 13 years ago by Onfire60
Get table schema with columns via sql.
0 556 posted 13 years ago by djmornyc
1 642 posted 13 years ago by samwa
1 711 posted 13 years ago by samwa
0 624 posted 13 years ago by Waldio
1 521 posted 13 years ago by titosemi
1 492 posted 13 years ago by titosemi
How to Export Data From SQL Server to Microsoft Excel Datasheet
0 822 posted 13 years ago by derebus
Truncates a DateTime value.
0 375 posted 13 years ago by cdicarlo
1 508 posted 13 years ago by brandonroath
0 620 posted 13 years ago by metoikos
1 ... 7 8 9 10 11 ... 17