Viewing 15 posts - 9,496 through 9,510 (of 26,489 total)
SQL Server only allows 1,024 columns per table.
September 18, 2012 at 12:40 pm
Mr. Celko hasn't posted today and I am biting my tongue from giving snarky replies to others. Just wanted to tell someone to read the readme files.
September 18, 2012 at 12:37 pm
SQLRNNR (9/18/2012)
jasona.work (9/18/2012)
Lynn Pettis (9/18/2012)
Sometimes you just want to give a snarky reply, but then you bite your tongue and wait.
I know the feeling, some of the people I work...
September 18, 2012 at 12:34 pm
Sometimes you just want to give a snarky reply, but then you bite your tongue and wait.
September 18, 2012 at 12:19 pm
Have you tried this on the new server?
SELECT @sMysql = 'bcp "SELECT sOutput FROM MYDATABASE.dbo.VPOSITIVEPAY" queryout ' + @sFilePath + @sFileName + ' -T -c'
September 18, 2012 at 11:58 am
Something like this should work:
declare @idxname sysname = 'idx_DatePosted';
declare @SQLCmd varchar(max);
select @SQLCmd = stuff((
select 'union all' + char(13) + char(10) + 'select ''' + db.name + ''' as DatabaseName, object_name(idx.object_id)...
September 18, 2012 at 11:47 am
Looks like a custom EAV using multiple tables instead of a single table.
September 18, 2012 at 10:30 am
SQL Server 2008 and 2008R2 have a major revision number of 10 and SQL Server 2012 has a major revision number of 11. Does that help?
September 18, 2012 at 10:07 am
paul.knibbs (9/18/2012)
September 18, 2012 at 5:57 am
CELKO (9/17/2012)
2 points here. First, What does an IDENTITY value do other than uniquely identify an entity?
Think of a parking garage (disk) and parking slot numbers (identity,...
September 17, 2012 at 2:58 pm
I don't know since the following runs with no problems for me:
create table dbo.table1 (
Field1 varchar(30),
Field2 varchar(30));
go
insert into dbo.table1
values
...
September 17, 2012 at 2:52 pm
You also need to verify that you aren't using any Enterprise Only features. Sorry, don't remember exactly how to do that of the top of my head.
September 17, 2012 at 2:05 pm
JC-3113 (9/17/2012)
Hi Lynnyou mean i have to look in each database seperately ?
no view that encompases al the databases ?
Jim
Basically, yes. There are ways around it but I don't...
September 17, 2012 at 11:21 am
adonetok (9/17/2012)
How to code to combine two tables as query which will including all records in ORDER1 and ORDER2?
(ORDERID, DATE, CITY)
(Can not...
September 17, 2012 at 11:09 am
The system view sys.indexes in each database.
September 17, 2012 at 11:07 am
Viewing 15 posts - 9,496 through 9,510 (of 26,489 total)