Viewing 15 posts - 4,786 through 4,800 (of 5,590 total)
select stuff((select ';' + Mobile from [YourUn-namedTable] order by Num FOR XML PATH('')),1,1,'')
If this doesn't get you what you're looking for, please take a look at the first link in...
February 11, 2010 at 8:48 pm
sihaab (2/11/2010)
We can script Table Name of the Index, Index columns of the Index but how do we script include columns...
February 11, 2010 at 11:15 am
sqlserver12345 (2/10/2010)
Server: Msg 156, Level 15, State 1, Line 13
Incorrect syntax near the...
February 10, 2010 at 8:45 pm
The only problem with this is that you do not get the actual error message... you will get the variable holders in the string in sysmessages, instead of the actual...
February 10, 2010 at 2:55 pm
Here's one method. The tally table that Lutz mentioned would also be very efficient.
-- first, notice how I create a table and populate it with the test data?
-- This makes...
February 10, 2010 at 1:13 pm
you know, I do seem to recall reading something somewhere about an undocumented command that might let you recover a database from a backup made after the database got hosed......
February 10, 2010 at 12:39 pm
In case this helps anyone else, here are the amazon links to these books:
"Information Modeling and Relational Databases" by Terry Halpin
"Practical Issues in Data Management" by Fabian Pascal
C.J.Date's "Relational Database...
February 10, 2010 at 12:13 pm
David,
Thanks for taking the time to make these recommendations.
February 10, 2010 at 11:30 am
On your first question of the datetime/smalldatetime... you need to look at how the underlying data is stored. Both are stored as a real number... for instance,
select convert(datetime, 12345.785215)
returns...
February 9, 2010 at 9:06 pm
sounds like you need something like:
DECLARE @SourceA TABLE (
[ServerName] [varchar](50) NULL,
127.0.0.1 [varchar](50) NULL
)
DECLARE @SourceB TABLE (
[ServerName] [varchar](50) NULL,
127.0.0.1 [varchar](50) NULL
)
-- insert the sample data
-- notice how it's in...
February 9, 2010 at 7:42 pm
CirquedeSQLeil (2/9/2010)[hrI found a few databases that still show dtproperties and sysdiagrams.
Still looking for an alternative answer.
probably because those tables were scripted out without the extended properties, then when run...
February 9, 2010 at 4:36 pm
CirquedeSQLeil (2/9/2010)
Roy Ernest (2/9/2010)
If you use is_ms_shipped = 0, does it not exclude those tables?
Those two tables, no. They are tweener tables. They were technically shipped with SQL...
February 9, 2010 at 4:35 pm
select *
from sys.tables
where is_ms_shipped = 0
February 9, 2010 at 12:15 pm
SQL Dude-467553 (2/9/2010)
February 9, 2010 at 9:56 am
Schadenfreude-Mei (2/8/2010)
Set up another remote machin with vpn and try that, bu if other users are fine, then its...
February 9, 2010 at 9:54 am
Viewing 15 posts - 4,786 through 4,800 (of 5,590 total)