Viewing 15 posts - 391 through 405 (of 812 total)
if you know the table and its related records for that specific one school then you can create one blank database and export the data with table definition to desitnation...
----------
Ashish
January 31, 2011 at 2:15 am
just tested this wonderful scripts and definately one of the must in job schedules.
One thing I would like to know that as soon the script completed it created the job....
----------
Ashish
January 27, 2011 at 3:53 am
to check your current usage of a table, run this :-
SELECT alloc_unit_type_desc,page_count,avg_page_space_used_in_percent,record_count FROM
sys.dm_db_index_physical_stats(DB_ID(),OBJECT_ID(N'dbo.Test'),NULL,NULL,'Detailed')
** make note of avg_page_space_used_in_percent
now run
dbcc cleantable('databasename', 'tablename')
once it...
----------
Ashish
January 27, 2011 at 1:16 am
SQL Server agent can/does use 2 different users. The first for running and the second for database access.
sqlserveragent is a service and a service always configured only on one specific...
----------
Ashish
January 26, 2011 at 9:06 pm
1) insert into is helpful when destination table have similar columns as of source table.
As well you have to make sure that column's datatype are matching while inserting records.
So...
----------
Ashish
January 26, 2011 at 9:05 pm
there are 2 things which I would like to ask :-
1) Is your sql agent service running? go in services and check the account which is configured for agent...
----------
Ashish
January 26, 2011 at 8:49 pm
1) is it posible for me to have one instance on SQL server 2008 and other one on SQL server 2005 ?
yes it will work if primary on 2005 and...
----------
Ashish
January 25, 2011 at 1:30 am
most of the timing is being used at index scan. Check how up-to-date your index is?
What I mean is fragmentation of index. Seems like your index is highly fragmented.
----------
Ashish
January 24, 2011 at 4:20 am
CAn you please give me, bit information about this.
open SSMS -- right click on your database-- reports-- standard reports -- schema change history
----------
Ashish
January 24, 2011 at 4:13 am
if you just looking that what were the modification at schema level, like alter/delete or create then in SSMS 2008 you can use the inbuilt report named as 'schema change...
----------
Ashish
January 24, 2011 at 4:04 am
select count(*)
from dbo.Table1 t1
where t1.Field1 in
(select Field2 from dbo.Table2 where Field3 = 1)
[/code]
Its because of your in operator. Which means if its in the list then ok else...
----------
Ashish
January 24, 2011 at 2:22 am
instead of exporting from sql, you can connect your excel to database directly by selecting correct provider and correct connection setting.
Once your connection is authenticated, you can provide your query...
----------
Ashish
January 17, 2011 at 3:09 am
i think the language is defined at the server level not the user specific level.
----------
Ashish
January 17, 2011 at 1:02 am
if I am understanding your requirement properly then :-
select SUBSTRING(vdoc,1,1), * from #track where SUBSTRING(vdoc,1,1) not in ('v','i','c')
**SUBSTRING(vdoc,1,1), this value gives the first character and I am using this...
----------
Ashish
January 17, 2011 at 12:58 am
Viewing 15 posts - 391 through 405 (of 812 total)