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 1323 posted 13 years ago by emregulcan
My Drop Column.sql This template drops a columns of the table.
0 486 posted 13 years ago by edwinet
My Add Column Varchar.sql This template adds a new varchar column to the table.
0 565 posted 13 years ago by edwinet
0 453 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 542 posted 13 years ago by ezerick
0 507 posted 13 years ago by kendsnyder
4 860 posted 13 years ago by takel
the following code can be used to create a table with a dynamic name
0 638 posted 13 years ago by gtaking
0 604 posted 13 years ago by jaredyeo
Doesn't do any validation, you would want to check if a
0 1528 posted 13 years ago by brettville
0 825 posted 13 years ago by batamire
1 582 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 864 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 452 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 867 posted 13 years ago by Onfire60
Get table schema with columns via sql.
0 559 posted 13 years ago by djmornyc
1 644 posted 13 years ago by samwa
1 712 posted 13 years ago by samwa
0 628 posted 13 years ago by Waldio
1 521 posted 13 years ago by titosemi
1 495 posted 13 years ago by titosemi
How to Export Data From SQL Server to Microsoft Excel Datasheet
0 823 posted 13 years ago by derebus
Truncates a DateTime value.
0 379 posted 13 years ago by cdicarlo
1 511 posted 13 years ago by brandonroath
0 624 posted 13 years ago by metoikos
1 ... 7 8 9 10 11 ... 17